* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scrollbar-color: rgba(236, 233, 226, 0.22) var(--ink);
}

body {
  min-height: 100%;
  font-family: var(--font), system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: var(--ink);
  color: var(--cream);
  caret-color: var(--ember);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--ember);
  color: var(--cream);
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--ember-lit);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body > nav {
  background: linear-gradient(180deg, rgba(7, 6, 5, 0.86), rgba(7, 6, 5, 0.5));
  border-bottom: 1px solid var(--line);
}

body > nav .links a {
  color: var(--cream);
}

body > nav .links a.selected {
  border-bottom-color: var(--ember);
}

body > nav .options a {
  color: var(--cream);
}

body > nav .options a.primary {
  padding: 0.42rem 1.05rem;
  border: 1px solid var(--line-lit);
  border-radius: 100rem;
  background: none;
  color: var(--cream);
  font-weight: 500;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

body > nav .options a.primary:hover {
  filter: none;
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

section {
  position: relative;
  padding: 8.5rem var(--gutter);
}

.rails {
  position: relative;
  display: block;
}

.rails::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) - 1.5rem);
  border-inline: 1px solid var(--line);
  pointer-events: none;
  z-index: 1;
}

.seam {
  --x: linear-gradient(var(--line-lit), var(--line-lit));
  position: relative;
  height: 1.9rem;
  margin: 0 calc(var(--gutter) - 1.5rem);
  border-block: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 8px);
}

.seam::before,
.seam::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  height: 11px;
  background:
    var(--x) 0 50% / 11px 1px no-repeat,
    var(--x) 5px 0 / 1px 11px no-repeat,
    var(--x) 100% 50% / 11px 1px no-repeat,
    var(--x) calc(100% - 5px) 0 / 1px 11px no-repeat;
}

.seam::before {
  top: -6px;
}

.seam::after {
  bottom: -6px;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.head h2 {
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  line-height: 1.04;
  max-width: 20ch;
}

h2 span,
.hero h1 span {
  display: block;
  color: rgba(236, 233, 226, 0.5);
}

.head.center {
  align-items: center;
  margin-inline: auto;
  text-align: center;
}

.head.center h2 {
  max-width: 24ch;
}

.lede {
  max-width: 36rem;
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}

.go {
  display: inline-block;
  margin-top: 0.3rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.go b {
  font-weight: 500;
  color: var(--cream);
}

.go::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.6em;
  width: 2.2em;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: transform 0.35s var(--ease), background 0.25s var(--ease);
}

.go:hover {
  color: var(--ember-lit);
}

.go:hover::after {
  transform: none;
  background: var(--ember);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--cream);
  border-radius: 100rem;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.15s ease;
}

.btn:hover {
  background: var(--ember);
  border-color: var(--ember);
  color: var(--cream);
}

.btn:active {
  transform: translateY(1px);
}

.btn.ghost {
  background: none;
  border-color: var(--line-lit);
  color: var(--cream);
}

.btn.ghost:hover {
  border-color: var(--cream);
  background: rgba(236, 233, 226, 0.06);
}

.btn.shut,
.btn.shut:hover {
  background: none;
  border-color: var(--line);
  color: var(--faint);
  cursor: default;
}

.pf-embed {
  position: relative;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: none;
  overflow: visible;
  font-family: inherit;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: max(100svh, 44rem);
  padding: 7rem 0 2.5rem;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
  background: radial-gradient(60% 50% at 50% 47%, rgba(217, 64, 31, 0.06), transparent 70%);
}

.singularity {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
  padding: 2rem 0;
  background: radial-gradient(closest-side, rgba(7, 6, 5, 0.72), rgba(7, 6, 5, 0) 100%);
}

.hero-copy {
  padding-inline: var(--gutter);
}

.hero h1 {
  max-width: 15ch;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 i {
  font-style: normal;
  color: var(--ember);
}

.hero .lede {
  margin-top: 1.5rem;
  max-width: 31rem;
  color: var(--muted);
}

.claim {
  display: flex;
  align-items: stretch;
  width: min(100%, 30rem);
  margin-top: 2.25rem;
  padding: 0.35rem;
  border: 1px solid var(--line-lit);
  border-radius: 100rem;
  background: rgba(7, 6, 5, 0.7);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.claim:focus-within {
  border-color: var(--ember);
  box-shadow: 0 0 0 5px var(--ember-wash);
}

.claim-pre {
  display: flex;
  align-items: center;
  padding-left: 1rem;
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--faint);
  white-space: nowrap;
}

.claim input {
  flex: 1;
  min-width: 4rem;
  padding: 0.65rem 0;
  border: 0;
  background: none;
  outline: none;
  color: var(--cream);
  font-family: var(--mono);
  font-size: 0.95rem;
}

.claim input::placeholder {
  color: rgba(236, 233, 226, 0.4);
}

.claim button {
  margin-left: 0.4rem;
  padding: 0.65rem 1.35rem;
  border: 0;
  border-radius: 100rem;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.claim button:hover {
  background: var(--ember);
  color: var(--cream);
}

.claim-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--faint);
}

.marquee {
  display: flex;
  width: 100%;
  margin-top: auto;
  padding-top: 3rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.marquee ul {
  display: flex;
  flex: 0 0 auto;
  gap: 3rem;
  padding-right: 3rem;
  list-style: none;
  animation: drift 60s linear infinite;
}

.marquee:hover ul {
  animation-play-state: paused;
}

.marquee li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: rgba(236, 233, 226, 0.5);
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}

.marquee li:hover {
  color: var(--cream);
}

.marquee svg {
  width: 1.2rem;
  height: 1.2rem;
}

@keyframes drift {
  to {
    transform: translateX(-100%);
  }
}

.console {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr) 17rem;
  grid-template-rows: 1fr auto;
  margin-top: 4rem;
  overflow: hidden;
  border: 1px solid var(--line-lit);
  border-radius: 1rem;
  background: var(--ink-raised);
  box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.95), 0 0 120px -40px rgba(217, 64, 31, 0.18);
}

.console-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem 0.75rem;
  border-right: 1px solid var(--line);
}

.console-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 0.5rem;
  font-weight: 600;
}

.console-brand img {
  width: 1.4rem;
  height: 1.4rem;
}

.console-side ul {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  list-style: none;
}

.console-side li {
  padding: 0.4rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.86rem;
  color: var(--faint);
}

.console-side li.on {
  background: rgba(236, 233, 226, 0.06);
  color: var(--cream);
}

.console-main {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  min-width: 0;
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.console-bar b {
  font-weight: 500;
}

.console-url {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--faint);
}

.console-url em {
  font-style: normal;
  color: var(--cream);
}

.console-pub {
  margin-left: auto;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(217, 64, 31, 0.5);
  border-radius: 100rem;
  font-size: 0.72rem;
  color: var(--ember-lit);
}

.console-links {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.console-links li {
  display: grid;
  grid-template-columns: 1.1rem 6.5rem minmax(0, 1fr) 3.2rem;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.console-links svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--muted);
}

.console-meter {
  height: 0.35rem;
  border-radius: 100rem;
  background: rgba(236, 233, 226, 0.06);
  overflow: hidden;
}

.console-meter i {
  display: block;
  width: var(--share);
  height: 100%;
  border-radius: inherit;
  background: rgba(236, 233, 226, 0.4);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}

.console-links li:first-child .console-meter i {
  background: var(--ember);
}

.console.reveal:not(.seen) .console-meter i {
  transform: scaleX(0);
}

.console-links b {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.console-foot {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.75rem;
  color: var(--faint);
}

.console-preview {
  display: grid;
  place-items: center;
  padding: 1.5rem 1.25rem;
  border-left: 1px solid var(--line);
  background: radial-gradient(80% 60% at 50% 40%, rgba(217, 64, 31, 0.12), transparent 70%);
}

.console-preview .pf-card {
  width: 100%;
  animation: none;
}

.console-status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  padding: 0.8rem 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
}

.console-status div {
  display: flex;
  flex-direction: row-reverse;
  gap: 0.5rem;
}

.console-status dt {
  color: var(--faint);
}

.console-status dd {
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.console-status .live dt {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.console-status .live dd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ember-lit);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.console-status .live dd::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--ember);
  animation: beat 2.4s ease-in-out infinite;
}

@keyframes beat {
  50% {
    opacity: 0.3;
  }
}

.captions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 3rem;
  margin-top: 3rem;
  list-style: none;
}

.captions li {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.35rem 0.65rem;
  align-items: center;
}

.captions svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--ember-lit);
}

.captions b {
  font-weight: 500;
}

.captions p {
  grid-column: 2;
  font-size: 0.94rem;
  color: var(--muted);
}

.frame {
  margin-top: 3.5rem;
}

.viewport {
  overflow: hidden;
  border: 1px solid var(--line-lit);
  border-radius: 1rem;
  background: var(--ink-raised);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
}

.chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 2.75rem;
  padding: 0 0.9rem;
  border-bottom: 1px solid var(--line);
}

.chrome-dots {
  display: flex;
  gap: 0.35rem;
}

.chrome-dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(236, 233, 226, 0.14);
}

.chrome-url {
  flex: 1;
  padding: 0.25rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 100rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chrome-url b {
  color: var(--cream);
  font-weight: 500;
}

.chrome-open {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--faint);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.chrome-open:hover {
  color: var(--ember-lit);
}

.chrome-open svg {
  width: 0.8rem;
  height: 0.8rem;
}

.pages {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 26rem;
}

.page {
  position: absolute;
  inset: 0;
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem;
  background: var(--pf-bg);
  opacity: 0;
  transform: scale(1.015);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.6s var(--ease);
}

.page.on {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.page-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-veil {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--pf-bg) 55%, transparent);
}

.page-stack {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: min(21rem, 82%);
}

.page .pf-card,
.page .pf-player {
  width: 100%;
  animation: none;
}

.page .pf-seek > i {
  width: 38%;
}

.handles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.handle-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 100rem;
  background: none;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--faint);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.handle-chip i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--dot);
}

.handle-chip:hover {
  color: var(--cream);
  border-color: var(--line-lit);
}

.handle-chip.on {
  color: var(--ink);
  border-color: var(--cream);
  background: var(--cream);
}

.framenote {
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--faint);
}

.why-table {
  margin-top: 3.5rem;
  overflow-x: auto;
  border-top: 1px solid var(--line-lit);
}

table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

thead th {
  padding: 1.2rem 1.1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--faint);
  border-bottom: 1px solid var(--line);
}

thead th.us {
  color: var(--cream);
  background: var(--ember-wash);
}

thead th.us small {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ember-lit);
}

tbody td,
tbody th {
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  vertical-align: top;
  text-align: left;
}

tbody th {
  width: 26%;
  font-weight: 500;
  color: var(--cream);
}

tbody td {
  color: var(--muted);
}

tbody tr {
  transition: background 0.2s ease;
}

tbody tr:hover {
  background: rgba(236, 233, 226, 0.025);
}

td.us {
  color: var(--cream);
  background: var(--ember-wash);
}

td.us.lose {
  color: var(--muted);
  background: rgba(236, 233, 226, 0.03);
}

.mark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  font-weight: 500;
}

.mark svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: 0 0 auto;
  transform: translateY(0.15rem);
}

.mark.yes {
  color: var(--cream);
}

.mark.yes svg {
  color: var(--ember-lit);
}

.mark.no {
  color: var(--faint);
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: center;
}

.knobs {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2.75rem;
}

.knob {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.knob-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--faint);
}

.knob-label b {
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--cream);
  text-align: right;
}

.sliders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.swatches {
  display: flex;
  gap: 0.5rem;
}

.swatch {
  appearance: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line-lit);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.swatch:hover {
  transform: scale(1.08);
}

.swatch.on {
  box-shadow: 0 0 0 2px var(--ink), 0 0 0 3px var(--cream);
}

.track {
  position: relative;
  height: 2px;
  border-radius: 100rem;
  background: var(--line-lit);
  cursor: grab;
  touch-action: none;
}

.track::before {
  content: "";
  position: absolute;
  inset: -0.8rem 0;
}

.track:active {
  cursor: grabbing;
}

.track i {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 100rem;
  background: var(--ember);
  transition: width 0.18s ease;
}

.track u {
  position: absolute;
  top: 50%;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--cream);
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  transition: left 0.18s ease, box-shadow 0.25s var(--ease);
}

.track:hover u,
.track:focus-visible u {
  box-shadow: 0 0 0 6px var(--ember-wash), 0 2px 6px rgba(0, 0, 0, 0.6);
}

.track.holding i,
.track.holding u {
  transition: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  appearance: none;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 100rem;
  background: transparent;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.chip:hover {
  color: var(--cream);
  border-color: var(--line-lit);
}

.chip.on {
  color: var(--cream);
  border-color: var(--ember);
  background: var(--ember-wash);
}

.knob-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.knob-act {
  appearance: none;
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line-lit);
  border-radius: 100rem;
  background: none;
  font: inherit;
  font-size: 0.85rem;
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.knob-act:hover {
  border-color: var(--cream);
}

.knob-act.lit {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--ink);
  font-weight: 600;
}

.knob-act.lit:hover {
  border-color: var(--ember);
  background: var(--ember);
  color: var(--cream);
}

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.canvas {
  overflow: hidden;
  padding: 3rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--pf-bg);
  transition: background 0.4s ease;
}

.canvas-fx {
  z-index: 0;
}

.stage .pf-card {
  position: relative;
  z-index: 1;
  width: min(100%, 22rem);
  animation: none;
}

.stagenote {
  font-size: 0.85rem;
  color: var(--faint);
}

.stagenote b {
  font-weight: 500;
  color: var(--cream);
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 3.5rem;
  border: 1px solid var(--line-lit);
  border-radius: 1rem;
  overflow: hidden;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.5rem;
}

.plan + .plan {
  border-left: 1px solid var(--line-lit);
}

.plan.lit {
  background: linear-gradient(180deg, var(--ember-wash), transparent 60%);
}

.plan-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.plan h3 {
  font-size: 1.4rem;
}

.tag {
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--line-lit);
  border-radius: 100rem;
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

.plan.lit .tag {
  border-color: var(--ember);
  color: var(--ember-lit);
}

.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: clamp(2.8rem, 5vw, 3.75rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price small {
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}

.plan ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.94rem;
  color: var(--muted);
}

.plan li svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-top: 0.35rem;
  flex: 0 0 auto;
  color: var(--ember-lit);
}

.plan li b {
  color: var(--cream);
  font-weight: 500;
}

.plan .btn {
  align-self: flex-start;
  margin-top: auto;
}

.plan-foot {
  font-size: 0.84rem;
  color: var(--faint);
}

.plan-foot a {
  color: var(--cream);
}

.bands {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4rem;
  border-block: 1px solid var(--line-lit);
}

.band {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2.25rem 2rem;
}

.band + .band {
  border-left: 1px solid var(--line);
}

.band h3 {
  font-size: 1.25rem;
}

.band > p {
  font-size: 0.94rem;
  color: var(--muted);
}

.band .ui {
  margin-top: auto;
}

.band-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.band .band-stat {
  font-size: 0.82rem;
  color: var(--faint);
}

.band-stat b {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(236, 233, 226, 0.025), transparent 60%);
  transition: border-color 0.3s var(--ease);
}

.tile:hover {
  border-color: var(--line-lit);
}

.tile-api,
.tile-readme,
.tile-templates,
.tile-mcp,
.tile-widgets {
  grid-column: span 2;
}

.tile-templates {
  grid-column: 2 / span 2;
  grid-row: 3;
}

.tile-badges {
  grid-row: 3;
}

.tile .ui {
  flex: 1;
  display: grid;
  align-content: center;
  padding: 0.5rem 0;
  border: 0;
  background: none;
}

.tile-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}

.tile h3 {
  font-size: 1.05rem;
}

.tile p {
  font-size: 0.9rem;
  color: var(--muted);
}

.tile a {
  margin-top: 0.3rem;
  font-size: 0.85rem;
  color: var(--cream);
  text-decoration-color: var(--line-lit);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.tile a:hover {
  color: var(--ember-lit);
  text-decoration-color: var(--ember);
}

.code {
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.7;
  color: var(--faint);
}

.code-req {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--cream);
}

.code-req b {
  margin-right: 0.5rem;
  font-weight: 500;
  color: var(--ember-lit);
}

.code i {
  font-style: normal;
  color: var(--muted);
}

.code u {
  text-decoration: none;
  color: #e9b18f;
}

.code s {
  text-decoration: none;
  color: var(--cream);
}

.presence {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.presence-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: #2a1f19;
  font-weight: 600;
}

.presence-avatar i {
  position: absolute;
  right: -0.1rem;
  bottom: -0.1rem;
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--ink-raised);
  border-radius: 50%;
  background: #3ba55c;
}

.presence-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

.presence-meta b {
  font-weight: 500;
}

.presence-meta span,
.presence-time {
  color: var(--faint);
}

.presence-time {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-variant-numeric: tabular-nums;
}

.aliases,
.badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.aliases span,
.badges span {
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line-lit);
  border-radius: 100rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.aliases span {
  font-family: var(--mono);
}

.aliases svg {
  width: 1rem;
  height: 1rem;
  color: var(--faint);
}

.aliases b {
  font-size: 0.82rem;
  font-weight: 500;
}

.badges .lit {
  border-color: var(--ember);
  color: var(--ember-lit);
}

.agent {
  display: grid;
  gap: 0.8rem;
  font-size: 0.82rem;
}

.agent-ask {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin: 0;
  color: var(--cream);
}

.agent-ask b {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--faint);
}

.agent-calls {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 0 0 0 0.9rem;
  border-left: 1px solid var(--line-lit);
  list-style: none;
}

.agent-calls li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
  min-width: 0;
}

.agent-calls code {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ember-lit);
}

.agent-calls span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--faint);
}

.agent-calls i {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-style: normal;
  color: var(--ok);
}

.agent-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
}

.agent-foot b {
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--line-lit);
  border-radius: 100rem;
  font-weight: 500;
  color: var(--cream);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.tile:hover .agent-foot b {
  border-color: var(--ember);
  color: var(--ember-lit);
}

.bento.seen .agent-calls li {
  animation: call-in 0.6s var(--ease) backwards;
  animation-delay: calc(var(--n) * 260ms + 700ms);
}

@keyframes call-in {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
}

.domain {
  display: grid;
  gap: 0.8rem;
}

.domain-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--line-lit);
  border-radius: 100rem;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--cream);
}

.domain-bar svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--ok);
}

.domain-dns {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.domain-dns div {
  display: flex;
  gap: 0.8rem;
}

.domain-dns dt {
  width: 3.2rem;
  color: var(--faint);
}

.domain-dns dd {
  margin: 0;
  color: var(--muted);
}

.gate {
  display: grid;
  place-items: center;
  min-height: 6.5rem;
  border-radius: 0.6rem;
  background: radial-gradient(circle at 30% 20%, var(--ember-wash), transparent 60%), radial-gradient(circle at 80% 90%, rgba(236, 233, 226, 0.05), transparent 50%), var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.gate-text {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--cream);
}

.gate-text::after {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 1em;
  margin-left: 0.25em;
  vertical-align: -0.15em;
  background: var(--ember);
  animation: caret 1.1s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

.widgets {
  display: grid;
  gap: 0.9rem;
}

.widgets-grid {
  display: grid;
  grid-template-rows: repeat(5, 0.55rem);
  grid-auto-columns: 0.55rem;
  grid-auto-flow: column;
  gap: 3px;
  overflow: hidden;
}

.widgets-grid i {
  border-radius: 2px;
  background: var(--cream);
  opacity: calc(0.06 + var(--l) * 0.11);
}

.readme {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  overflow: hidden;
}

.readme-file {
  display: block;
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--faint);
}

.readme-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem;
  padding: 0.8rem 1rem;
  border-radius: 0.6rem;
  background: #160c08;
  box-shadow: inset 0 0 0 1px rgba(217, 64, 31, 0.35);
}

.readme-avatar {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--ember);
  font-weight: 600;
}

.readme-card > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
}

.readme-card b {
  font-weight: 500;
}

.readme-card > span:nth-child(2) span {
  color: var(--faint);
}

.readme-url {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--faint);
}

.looks {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.looks i {
  aspect-ratio: 3 / 4;
  border-radius: 0.6rem;
  background: radial-gradient(circle at 50% 34%, var(--a) 0 0.55rem, transparent calc(0.55rem + 1px)), linear-gradient(var(--a), var(--a)) 50% 62% / 55% 0.3rem no-repeat, linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12)) 50% 72% / 70% 0.25rem no-repeat, var(--b);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform 0.4s var(--ease);
}

.tile:hover .looks i:nth-child(odd) {
  transform: translateY(-4px);
}

.ui {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--ink-raised);
}

.player {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.art {
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  border-radius: 0.6rem;
  background: radial-gradient(circle at 70% 75%, var(--ember) 0 12%, transparent 13%), linear-gradient(140deg, #2a1f19, #0f0c0a);
  box-shadow: inset 0 0 0 1px var(--line);
}

.player-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.player-meta b {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-meta span {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--faint);
}

.scrub {
  position: relative;
  height: 2px;
  border-radius: 100rem;
  background: var(--line-lit);
}

.scrub i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  border-radius: 100rem;
  background: var(--ember);
}

.playbtn {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
}

.playbtn svg {
  width: 0.9rem;
  height: 0.9rem;
}

.filerow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.filerow + .filerow {
  margin-top: 0.7rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
}

.thumb {
  width: 2.1rem;
  height: 2.1rem;
  flex: 0 0 auto;
  border-radius: 0.45rem;
  background: linear-gradient(140deg, #1d1915, #3a332c);
  box-shadow: inset 0 0 0 1px var(--line);
}

.filemeta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.filemeta b {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--cream);
}

.filemeta span {
  font-size: 0.72rem;
  color: var(--faint);
}

.copy {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line-lit);
  border-radius: 100rem;
  font-size: 0.72rem;
  color: var(--muted);
}

.chart {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  height: 4.5rem;
}

.chart i {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(236, 233, 226, 0.22);
}

.chart i:nth-child(6) {
  background: var(--ember);
}

.chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--faint);
}

.linkstat {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.linkstat b {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--cream);
  font-variant-numeric: tabular-nums;
}

.features {
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bands.reveal:not(.seen) .band,
.bento.reveal:not(.seen) .tile {
  opacity: 0;
}

.bands.seen .band,
.bento.seen .tile {
  animation: pop-in 0.9s var(--spring) backwards;
  animation-delay: calc(var(--i) * 90ms + 120ms);
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.94) rotate(calc((var(--i) - 1) * 0.8deg));
  }
}

.tile {
  position: relative;
  isolation: isolate;
  transition: border-color 0.3s var(--ease), transform 0.5s var(--spring);
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 0%), rgba(217, 64, 31, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.tile:hover {
  transform: translateY(-4px);
}

.tile:hover::before {
  opacity: 1;
}

.bump {
  animation: bump 0.6s var(--spring);
}

@keyframes bump {
  30% {
    color: var(--ember-lit);
    transform: translateY(-3px) scale(1.12);
  }
}

.code s,
.linkstat b,
.readme-card em {
  display: inline-block;
}

.readme-card em {
  font-style: normal;
}

.art {
  position: relative;
  transition: transform 0.5s var(--spring);
}

.player.playing .art {
  transform: scale(1.04);
}

.eq {
  position: absolute;
  left: 0.45rem;
  bottom: 0.45rem;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 1rem;
}

.eq i {
  width: 3px;
  height: 30%;
  border-radius: 1px;
  background: var(--cream);
  opacity: 0.85;
}

.player.playing .eq i {
  animation: eq 0.9s ease-in-out infinite alternate;
}

.player.playing .eq i:nth-child(2) {
  animation-duration: 0.6s;
  animation-delay: -0.2s;
}

.player.playing .eq i:nth-child(3) {
  animation-duration: 0.75s;
  animation-delay: -0.5s;
}

.player.playing .eq i:nth-child(4) {
  animation-duration: 0.5s;
  animation-delay: -0.1s;
}

@keyframes eq {
  from {
    height: 20%;
  }
  to {
    height: 100%;
  }
}

.scrub i {
  transition: width 1s linear;
}

.scrub i::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ember-lit);
  transform: translateY(-50%) scale(0);
  transition: transform 0.4s var(--spring);
}

.player.playing .scrub i::after {
  transform: translateY(-50%) scale(1);
}

button.playbtn,
button.copy {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

button.playbtn {
  border: 0;
  transition: transform 0.4s var(--spring), background 0.25s var(--ease);
}

button.playbtn:hover {
  transform: scale(1.12);
  background: #fff;
}

button.playbtn:active {
  transform: scale(0.88);
}

.playbtn .ic-pause,
.player.playing .playbtn .ic-play {
  display: none;
}

.player.playing .playbtn .ic-pause {
  display: block;
}

.player.playing .playbtn {
  box-shadow: 0 0 0 0 rgba(236, 233, 226, 0.4);
  animation: ripple 1.8s ease-out infinite;
}

@keyframes ripple {
  to {
    box-shadow: 0 0 0 0.6rem rgba(236, 233, 226, 0);
  }
}

button.copy {
  background: none;
  font-size: 0.72rem;
  transition: transform 0.4s var(--spring), border-color 0.25s var(--ease), color 0.25s var(--ease), background 0.25s var(--ease);
}

button.copy:hover {
  border-color: var(--cream);
  color: var(--cream);
  transform: translateY(-1px);
}

button.copy:active {
  transform: scale(0.92);
}

button.copy.done {
  border-color: var(--ember);
  background: rgba(217, 64, 31, 0.14);
  color: var(--ember-lit);
  animation: bump 0.6s var(--spring);
}

.thumb {
  transition: transform 0.5s var(--spring);
}

.filerow:hover .thumb {
  transform: rotate(-8deg) scale(1.08);
}

.chart i {
  transform-origin: bottom;
  transition: height 1.1s var(--spring), background 0.25s var(--ease), transform 0.4s var(--spring);
}

.chart i:hover {
  background: rgba(236, 233, 226, 0.45);
  transform: scaleX(1.15);
}

.chart i:nth-child(6):hover {
  background: var(--ember-lit);
}

.chart i:nth-child(1) { --n: 0; }
.chart i:nth-child(2) { --n: 1; }
.chart i:nth-child(3) { --n: 2; }
.chart i:nth-child(4) { --n: 3; }
.chart i:nth-child(5) { --n: 4; }
.chart i:nth-child(6) { --n: 5; }
.chart i:nth-child(7) { --n: 6; }

.bands.seen .chart i {
  animation: grow 1s var(--spring) backwards;
  animation-delay: calc(var(--n) * 70ms + 500ms);
}

@keyframes grow {
  from {
    transform: scaleY(0);
  }
}

.presence-avatar {
  transition: transform 0.5s var(--spring);
}

.tile:hover .presence-avatar {
  transform: rotate(-10deg) scale(1.08);
}

.presence-avatar i::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #3ba55c;
  animation: ping 2.2s ease-out infinite;
}

@keyframes ping {
  70%,
  to {
    transform: scale(2.4);
    opacity: 0;
  }
}

.aliases span {
  animation: hop 4s var(--ease) infinite;
}

.aliases span:nth-child(2) {
  animation-delay: 0.12s;
}

.aliases span:nth-child(3) {
  animation-delay: 0.24s;
}

.aliases svg {
  animation: nudge 4s var(--ease) infinite;
  animation-delay: 0.36s;
}

.aliases b {
  display: inline-block;
  animation: land 4s var(--ease) infinite;
  animation-delay: 0.5s;
}

@keyframes hop {
  0%,
  20%,
  to {
    transform: none;
  }
  8% {
    transform: translateY(-6px);
    border-color: var(--ember);
    color: var(--cream);
  }
}

@keyframes nudge {
  0%,
  20%,
  to {
    transform: none;
  }
  8% {
    transform: translateX(5px);
    color: var(--ember-lit);
  }
}

@keyframes land {
  0%,
  24%,
  to {
    transform: none;
  }
  10% {
    transform: scale(1.15);
    color: var(--ember-lit);
  }
}

.readme {
  perspective: 700px;
}

.readme-card {
  transition: transform 0.6s var(--spring), box-shadow 0.4s var(--ease);
}

.tile:hover .readme-card {
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg)) translateZ(10px);
  box-shadow: inset 0 0 0 1px rgba(217, 64, 31, 0.6), 0 14px 30px -12px rgba(217, 64, 31, 0.45);
}

.readme-avatar {
  transition: transform 0.5s var(--spring);
}

.tile:hover .readme-avatar {
  transform: rotate(-12deg) scale(1.1);
}

.looks i {
  transition: transform 0.5s var(--spring), box-shadow 0.3s var(--ease);
}

.looks i:nth-child(1) { --n: 0; --r: -6deg; }
.looks i:nth-child(2) { --n: 1; --r: 3deg; }
.looks i:nth-child(3) { --n: 2; --r: -3deg; }
.looks i:nth-child(4) { --n: 3; --r: 6deg; }

.bento.seen .looks i {
  animation: deal 0.9s var(--spring) backwards;
  animation-delay: calc(var(--n) * 110ms + 900ms);
}

@keyframes deal {
  from {
    opacity: 0;
    transform: translate(calc((1.5 - var(--n)) * 100%), 30%) rotate(calc(var(--r) * 3));
  }
}

.tile:hover .looks i,
.tile:hover .looks i:nth-child(odd) {
  transform: translateY(-6px) rotate(var(--r));
}

.tile:hover .looks i:hover {
  transform: translateY(-14px) scale(1.08);
  box-shadow: inset 0 0 0 1px var(--a), 0 16px 28px -14px var(--a);
}

.badges span {
  transition: transform 0.45s var(--spring), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.badges span:hover {
  transform: translateY(-3px) rotate(-5deg) scale(1.06);
  border-color: var(--cream);
  color: var(--cream);
}

.badges span:nth-child(even):hover {
  transform: translateY(-3px) rotate(5deg) scale(1.06);
}

.badges .lit {
  background: linear-gradient(110deg, transparent 35%, rgba(255, 170, 140, 0.35) 50%, transparent 65%) -150% 0 / 250% 100% no-repeat;
  animation: shine 3.2s ease-in-out infinite;
}

@keyframes shine {
  60%,
  to {
    background-position: 150% 0;
  }
}

.band-stat b {
  transition: transform 0.5s var(--spring);
}

.band:hover .band-stat b {
  transform: translateX(4px);
}

.features:not(.live) :is(.eq i, .playbtn, .aliases span, .aliases svg, .aliases b, .badges .lit),
.features:not(.live) :is(.presence-avatar i, .gate-text)::after {
  animation-play-state: paused;
}

.faq-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem 5rem;
  align-items: start;
}

.faq-band .head {
  position: sticky;
  top: 7rem;
}

.faq-band .head h2 {
  max-width: 12ch;
}

.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-lit);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  font-size: 1.08rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

summary::-webkit-details-marker {
  display: none;
}

summary:hover {
  color: var(--ember-lit);
}

summary i {
  position: relative;
  width: 0.8rem;
  height: 0.8rem;
  flex: 0 0 auto;
}

summary i::before,
summary i::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

summary i::before {
  inset: 45% 0 45% 0;
}

summary i::after {
  inset: 0 45% 0 45%;
}

details[open] summary i::after {
  transform: scaleY(0);
  opacity: 0;
}

details p {
  padding: 0 0 1.5rem;
  max-width: 62ch;
  font-size: 0.98rem;
  color: var(--muted);
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 10rem var(--gutter) 9rem;
  text-align: center;
  overflow: hidden;
}

.cluster {
  display: flex;
}

.cluster span {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-left: -0.7rem;
  border: 1px solid var(--line-lit);
  border-radius: 50%;
  background: var(--ink-raised);
  box-shadow: 0 0 0 4px var(--ink);
  color: var(--cream);
  transition: transform 0.4s var(--ease);
}

.cluster span:first-child {
  margin-left: 0;
}

.cluster svg {
  width: 1.3rem;
  height: 1.3rem;
}

.cluster .cluster-more {
  border-color: var(--ember);
  background: var(--ember);
}

.cluster:hover span {
  transform: translateY(-3px);
}

.cluster:hover span:nth-child(even) {
  transform: translateY(3px);
}

.cta-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cta h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  line-height: 0.98;
}

.cta .btn {
  padding: 0.9rem 1.8rem;
  font-size: 1rem;
}

footer {
  padding: 4rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-brand .logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-brand .logo img {
  height: 2rem;
  width: 2rem;
}

.footer-brand .logo b {
  font-size: 1.25rem;
}

.footer-brand p {
  max-width: 16rem;
  font-size: 0.95rem;
  color: var(--faint);
}

.icon-discord {
  display: inline-block;
  height: 1.4rem;
  width: 1.4rem;
  background-color: var(--cream);
  opacity: 0.7;
  -webkit-mask: url('/static/icon/discord.svg') no-repeat center;
  mask: url('/static/icon/discord.svg') no-repeat center;
  mask-size: contain;
  transition: 0.2s ease-in-out;
}

a:hover .icon-discord {
  opacity: 1;
  background-color: var(--ember-lit);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col b {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--faint);
}

.footer-col a {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cream);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--faint);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.seen {
  opacity: 1;
  transform: none;
}

@media (max-width: 1024px) {
  section {
    padding: 6rem var(--gutter);
  }
  .studio,
  .faq-band {
    grid-template-columns: minmax(0, 1fr);
  }
  .console {
    grid-template-columns: minmax(0, 1fr) 15rem;
  }
  .console-side {
    display: none;
  }
  .studio {
    gap: 3.5rem;
  }
  .faq-band .head {
    position: static;
  }
  .bands {
    grid-template-columns: minmax(0, 1fr);
  }
  .band {
    padding: 2rem 0;
  }
  .band + .band {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile-api,
  .tile-readme,
  .tile-templates,
  .tile-mcp,
  .tile-widgets {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .tile-badges {
    grid-row: auto;
  }
  .sliders {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .plans {
    grid-template-columns: minmax(0, 1fr);
  }
  .plan {
    padding: 2rem 1.5rem;
  }
  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--line-lit);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 6rem;
  }
  .claim {
    flex-wrap: wrap;
    border-radius: 1.4rem;
  }
  .claim input {
    min-width: 8rem;
  }
  .claim button {
    flex: 1 0 100%;
    margin: 0.35rem 0 0;
  }
  .rails::before {
    display: none;
  }
  .seam {
    margin: 0;
  }
  .seam::before,
  .seam::after {
    display: none;
  }
  .console {
    grid-template-columns: minmax(0, 1fr);
  }
  .console-preview {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .console-preview .pf-card {
    width: min(100%, 18rem);
  }
  .console-links li {
    grid-template-columns: 1.1rem minmax(0, 1fr) 3rem;
  }
  .console-meter {
    display: none;
  }
  .console-status {
    gap: 0.4rem 1.5rem;
  }
  .captions,
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .marquee ul {
    gap: 2rem;
    padding-right: 2rem;
  }
  .pages {
    aspect-ratio: auto;
    min-height: 36rem;
  }
  .page {
    padding: 1.5rem 1rem;
  }
  .page-stack {
    width: min(21rem, 92%);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee ul,
  .console-status .live dd::before {
    animation: none;
  }
  .console-meter i,
  .page,
  .canvas,
  .track i,
  .track u,
  .reveal {
    transition: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .features *,
  .features *::before,
  .features *::after {
    animation: none !important;
    transition: none !important;
  }
  .bands.reveal .band,
  .bento.reveal .tile {
    opacity: 1;
  }
  .tile:hover,
  .tile:hover .looks i,
  .tile:hover .looks i:hover,
  .tile:hover .readme-card {
    transform: none;
  }
}
