:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #1b1c20;
  color: #f3f4f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-width: 320px;
  background: #1b1c20;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #1b1c20;
}

a {
  color: inherit;
}

.site-frame {
  width: min(1040px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  border-inline: 1px solid #303238;
  background: #1b1c20;
}

.site-header {
  --section-edge: #303238;
  position: relative;
  height: 76px;
  border-bottom: 1px solid var(--section-edge);
  background: #1b1c20;
}

.header-inner {
  width: min(1060px, calc(100% - 48px));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.brand img {
  width: 30px;
  height: 30px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: #b0b3b9;
  text-decoration: none;
  font-size: 14px;
  transition: color 160ms ease;
}

nav a:hover {
  color: #f4f5f6;
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f4f5f6;
}

.github-link span {
  color: #8e949f;
}

.reicon-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.reicon {
  display: block;
}

button > .reicon-slot {
  pointer-events: none;
}

.hero {
  --section-edge: #3a3c42;
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--section-edge);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.035), transparent 40%),
    #1b1c20;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mark {
  width: 128px;
  height: 128px;
  display: block;
  margin-bottom: 24px;
  opacity: 0.92;
  border: 0;
  background: url("https://raw.githubusercontent.com/cordisx/cordisx/09c6284b7e3c3616cb1bdb10a631423c8b1c12b1/packages/cli/assets/brand/cordisx-mark-dark.svg") center / contain no-repeat;
  pointer-events: none;
}

.hero-mark.is-animated {
  background-image: none;
}

.hero-line {
  margin: 0;
  color: #a7abb2;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.018em;
  white-space: nowrap;
}

.hero-emphasis {
  position: relative;
  display: inline-block;
  margin-left: 2px;
  color: #f5f6f7;
  font-weight: 650;
  text-shadow:
    -1px 0 rgba(37, 244, 238, 0.72),
    1px 0 rgba(254, 44, 85, 0.68),
    0 0 12px rgba(255, 255, 255, 0.13);
}

.hero-emphasis::before,
.hero-emphasis::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-emphasis::before {
  color: #25f4ee;
  opacity: 0.36;
  transform: translateX(-1px);
  clip-path: inset(0 0 52% 0);
  animation: douyin-cyan 2.4s steps(1, end) infinite;
}

.hero-emphasis::after {
  color: #fe2c55;
  opacity: 0.34;
  transform: translateX(1px);
  clip-path: inset(48% 0 0 0);
  animation: douyin-pink 2.4s steps(1, end) infinite;
}

@keyframes douyin-cyan {
  0%, 66%, 78%, 100% { opacity: 0.36; transform: translate(-1px, 0); clip-path: inset(0 0 52% 0); }
  68% { opacity: 0.88; transform: translate(-3px, -1px); clip-path: inset(8% 0 62% 0); }
  70% { opacity: 0.56; transform: translate(2px, 1px); clip-path: inset(56% 0 16% 0); }
  72% { opacity: 0.92; transform: translate(-2px, 0); clip-path: inset(32% 0 40% 0); }
  74% { opacity: 0.48; transform: translate(1px, -1px); clip-path: inset(72% 0 4% 0); }
  76% { opacity: 0.76; transform: translate(-2px, 1px); clip-path: inset(14% 0 58% 0); }
}

@keyframes douyin-pink {
  0%, 66%, 78%, 100% { opacity: 0.34; transform: translate(1px, 0); clip-path: inset(48% 0 0 0); }
  68% { opacity: 0.82; transform: translate(3px, 1px); clip-path: inset(64% 0 8% 0); }
  70% { opacity: 0.62; transform: translate(-2px, -1px); clip-path: inset(18% 0 54% 0); }
  72% { opacity: 0.9; transform: translate(2px, 0); clip-path: inset(42% 0 30% 0); }
  74% { opacity: 0.46; transform: translate(-1px, 1px); clip-path: inset(4% 0 70% 0); }
  76% { opacity: 0.72; transform: translate(2px, -1px); clip-path: inset(58% 0 14% 0); }
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid #383b42;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 560;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: #f2f3f4;
  color: #17181b;
  background: #f2f3f4;
}

.button-primary:hover {
  background: #ffffff;
}

.button-secondary {
  color: #e4e6e8;
  background: #222328;
}

.button-secondary:hover {
  border-color: #555961;
}

.button-secondary span {
  color: #9da2aa;
}

.site-header::before,
.site-header::after,
main > section::before,
main > section::after {
  content: "";
  position: absolute;
  z-index: 6;
  bottom: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  pointer-events: none;
}

.site-header::before,
main > section::before {
  left: -1px;
  border-left: 7px solid var(--section-edge);
}

.site-header::after,
main > section::after {
  right: -1px;
  border-right: 7px solid var(--section-edge);
}

.workspace-section {
  position: relative;
  min-height: 650px;
  background: #18191d;
}

.workspace-heading {
  min-height: 96px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 18px 28px;
  border-bottom: 1px solid #303238;
  background: #1b1c20;
}

.workspace-index {
  display: block;
  margin-bottom: 5px;
  color: #727781;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.13em;
}

.workspace-heading h2 {
  margin: 0;
  color: #f0f1f3;
  font-size: 23px;
  font-weight: 540;
  letter-spacing: -0.045em;
}

.workspace-heading > p {
  margin: 0;
  color: #92969e;
  font-size: 13px;
}

.layout-switcher {
  justify-self: end;
  display: flex;
  padding: 3px;
  border: 1px solid #33363c;
  background: #17181b;
}

.layout-switcher button {
  min-width: 58px;
  height: 27px;
  border: 0;
  color: #777c85;
  background: transparent;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.layout-switcher button.is-active {
  color: #eceef0;
  background: #292b30;
}

.workspace-viewport {
  position: relative;
  height: 554px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.026), transparent 34%),
    #18191d;
}

.workspace-grid {
  position: absolute;
  z-index: -3;
  inset: -80px;
  opacity: 0.78;
  background-image:
    linear-gradient(rgba(111, 116, 126, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 116, 126, 0.065) 1px, transparent 1px),
    radial-gradient(circle, rgba(204, 208, 214, 0.13) 0.75px, transparent 0.9px);
  background-position: -1px -1px;
  background-size: 40px 40px, 40px 40px, 8px 8px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 28%, rgba(0, 0, 0, 0.78) 62%, transparent 98%);
  mask-image: radial-gradient(ellipse at center, #000 28%, rgba(0, 0, 0, 0.78) 62%, transparent 98%);
}

.workspace-viewport::before,
.workspace-viewport::after {
  content: "";
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  width: 72px;
  pointer-events: none;
}

.workspace-viewport::before {
  left: 0;
  background: linear-gradient(90deg, #18191d 8%, transparent);
}

.workspace-viewport::after {
  right: 0;
  background: linear-gradient(-90deg, #18191d 8%, transparent);
}

.workspace-wire {
  position: absolute;
  z-index: -1;
  opacity: 0.58;
  background: #4a4e56;
}

.workspace-connections {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.connection-segment {
  position: absolute;
  opacity: 0.66;
  background: #494d55;
  transition: left 220ms ease, top 220ms ease, width 220ms ease, height 220ms ease, opacity 220ms ease;
}

.connection-segment.is-horizontal {
  height: 1px;
}

.connection-segment.is-vertical {
  width: 1px;
}

.workspace-viewport.is-signaling .connection-segment {
  background: linear-gradient(90deg, #4a4e56, rgba(37, 244, 238, 0.8), rgba(254, 44, 85, 0.72), #4a4e56);
  background-size: 240% 100%;
  animation: connection-flash 620ms ease-out 1;
}

.workspace-viewport.is-signaling .connection-segment.is-vertical {
  background: linear-gradient(180deg, #4a4e56, rgba(37, 244, 238, 0.8), rgba(254, 44, 85, 0.72), #4a4e56);
  background-size: 100% 240%;
}

@keyframes connection-flash {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.wire-horizontal {
  left: 0;
  right: 0;
  top: 254px;
  height: 1px;
}

.wire-vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.workspace-wire::after {
  content: "";
  position: absolute;
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #25f4ee 44%, #fe2c55 56%, transparent);
  animation: workspace-signal 4.4s ease-in-out infinite;
}

.wire-horizontal::after {
  top: 0;
  left: 10%;
}

.wire-vertical::after {
  top: 16%;
  left: 0;
  width: 1px;
  height: 42px;
  background: linear-gradient(180deg, transparent, #25f4ee 44%, #fe2c55 56%, transparent);
  animation-name: workspace-signal-y;
}

@keyframes workspace-signal {
  0%, 54% { transform: translateX(0); opacity: 0; }
  58% { opacity: 0.9; }
  76% { transform: translateX(720px); opacity: 0.65; }
  80%, 100% { transform: translateX(720px); opacity: 0; }
}

@keyframes workspace-signal-y {
  0%, 60% { transform: translateY(0); opacity: 0; }
  64% { opacity: 0.9; }
  80% { transform: translateY(330px); opacity: 0.55; }
  84%, 100% { transform: translateY(330px); opacity: 0; }
}

.workspace-module {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  border: 1px solid #3b3e45;
  border-radius: 2px;
  color: #dfe1e4;
  background: rgba(29, 30, 35, 0.94);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.015) inset;
  transition:
    left 360ms cubic-bezier(0.22, 1, 0.36, 1),
    top 360ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.workspace-module:focus-visible {
  outline: 1px solid #c7cacf;
  outline-offset: 3px;
}

.workspace-module:not(.module-add):hover,
.workspace-module.is-dragging {
  border-color: #6a6f78;
  background: rgba(34, 35, 41, 0.98);
}

.workspace-module.is-dragging {
  z-index: 8;
  cursor: grabbing;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.36);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.workspace-module::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border: 1px solid #777c85;
  border-radius: 50%;
  background: #1b1c20;
}

.module-handle {
  height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border-bottom: 1px solid #303238;
  color: #737883;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.module-handle i {
  width: 13px;
  height: 4px;
  opacity: 0.52;
  background: radial-gradient(circle, #8b9098 1px, transparent 1.2px) 0 0 / 4px 4px;
}

.module-ascension {
  left: 105px;
  top: 112px;
  width: 226px;
  height: 138px;
}

.ascension-body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 20px 14px;
  color: #8d929a;
  font-size: 11px;
}

.ascension-body strong {
  color: #eef0f2;
  font-weight: 550;
}

.reasoning-track {
  position: relative;
  grid-column: 1 / -1;
  height: 2px;
  margin-top: 10px;
  background: #34373d;
}

.reasoning-track i {
  position: absolute;
  inset: 0 18% 0 0;
  background: linear-gradient(90deg, #777b83, #d8dadd);
}

.reasoning-track i::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0f1f2;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.module-core {
  left: calc(50% - 88px);
  top: 193px;
  width: 176px;
  height: 122px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px;
  overflow: visible;
  border-color: #656a73;
  background: #202126;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.module-core img {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
}

.module-core strong,
.module-core span {
  display: block;
}

.module-core strong {
  color: #f1f2f3;
  font-size: 15px;
  font-weight: 620;
}

.module-core span {
  margin-top: 4px;
  color: #777c84;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.core-orbit {
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 1px solid rgba(151, 156, 165, 0.2);
  border-radius: 50%;
  animation: core-breathe 3.2s ease-in-out infinite;
}

@keyframes core-breathe {
  0%, 100% { transform: scale(0.97); opacity: 0.42; }
  50% { transform: scale(1.03); opacity: 0.85; }
}

.module-trace {
  left: 662px;
  top: 84px;
  width: 264px;
  height: 148px;
}

.trace-body {
  position: relative;
  height: calc(100% - 31px);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 14px;
}

.trace-body::before {
  content: "";
  position: absolute;
  left: 29px;
  right: 29px;
  top: 48%;
  height: 1px;
  background: #454951;
}

.trace-body span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #7f848d;
  font-size: 9px;
}

.trace-body i {
  width: 8px;
  height: 8px;
  border: 2px solid #a4a8af;
  border-radius: 50%;
  background: #1d1e23;
}

.trace-body span:nth-child(3) i {
  border-color: #e1e3e5;
  box-shadow: -1px 0 #25f4ee, 1px 0 #fe2c55;
}

.module-manager {
  left: 604px;
  top: 338px;
  width: 314px;
  height: 128px;
}

.manager-body {
  height: calc(100% - 31px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #7f848d;
  font-size: 10px;
}

.manager-body b {
  color: #454951;
  font-weight: 400;
}

.manager-body .is-complete {
  color: #b8bcc2;
}

.manager-body .is-live {
  padding: 5px 8px;
  border: 1px solid #565a62;
  color: #eef0f2;
  background: #27292e;
  box-shadow: -1px 0 rgba(37, 244, 238, 0.55), 1px 0 rgba(254, 44, 85, 0.48);
}

.module-add {
  left: 172px;
  top: 350px;
  width: 208px;
  height: 106px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px;
  border-style: dashed;
  color: #7d828b;
  text-align: left;
  cursor: pointer;
  background: rgba(25, 26, 30, 0.64);
}

.module-add:hover {
  border-color: #656a73;
  color: #a9adb4;
  background: rgba(31, 32, 37, 0.82);
}

.module-add::after {
  display: none;
}

.add-mark {
  width: 32px;
  height: 32px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #454850;
  border-radius: 50%;
  color: #d1d4d8;
  font-size: 17px;
}

.module-add strong,
.module-add small {
  display: block;
}

.module-add strong {
  color: #c9ccd1;
  font-size: 12px;
  font-weight: 520;
}

.module-add small {
  margin-top: 4px;
  color: #6f747d;
  font-size: 9px;
}

.edge-slot {
  position: absolute;
  z-index: 1;
  width: 88px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(111, 116, 126, 0.45);
  color: #62666f;
  background: rgba(24, 25, 29, 0.58);
}

.edge-slot-left {
  left: -51px;
  top: 304px;
}

.edge-slot-right {
  right: -44px;
  top: 264px;
}

.module-palette {
  position: absolute;
  z-index: 12;
  left: 388px;
  top: 326px;
  width: 224px;
  padding: 8px;
  border: 1px solid #51555d;
  color: #8b9099;
  background: rgba(21, 22, 26, 0.98);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);
  animation: palette-in 160ms ease-out;
}

.module-palette[hidden] {
  display: none;
}

.module-palette > span {
  display: block;
  padding: 6px 7px 9px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.11em;
}

.module-palette button {
  width: 100%;
  display: grid;
  grid-template-columns: 27px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 8px;
  padding: 9px 8px;
  border: 0;
  color: #cfd2d6;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.module-palette button:hover,
.module-palette button:focus-visible {
  outline: 0;
  background: #282a2f;
}

.module-palette i {
  grid-row: 1 / 3;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid #3d4047;
  color: #e5e7e9;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-style: normal;
}

.module-palette b {
  font-size: 10px;
  font-weight: 550;
}

.module-palette small {
  margin-top: 2px;
  color: #6f747d;
  font-size: 8px;
}

@keyframes palette-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.module-generated {
  width: 196px;
  height: 112px;
  animation: module-enter 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.module-generated::after {
  right: auto;
  left: -3px;
}

.module-remove {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: #696e77;
  background: transparent;
  cursor: pointer;
}

.module-remove:hover,
.module-remove:focus-visible {
  color: #f1f2f3;
  outline: 0;
}

.generated-body {
  height: calc(100% - 31px);
  display: grid;
  grid-template-columns: 32px 1fr;
  grid-template-rows: auto auto;
  align-content: center;
  column-gap: 10px;
  padding: 12px;
}

.generated-glyph {
  grid-row: 1 / 3;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #454850;
  color: #e1e3e5;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
}

.generated-body strong {
  color: #dfe1e4;
  font-size: 11px;
  font-weight: 540;
}

.generated-body small {
  margin-top: 4px;
  color: #737882;
  font-size: 8px;
}

@keyframes module-enter {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.conversation-demo {
  --section-edge: #3a3c42;
  position: relative;
  min-height: 538px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.028), transparent 34%),
    #18191d;
}

.conversation-heading {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-bottom: 1px solid #303238;
  background: #1b1c20;
}

.conversation-heading span,
.conversation-heading > p,
.conversation-footnote {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.conversation-heading span {
  display: block;
  margin-bottom: 5px;
  color: #727781;
}

.conversation-heading h2 {
  margin: 0;
  color: #eff0f2;
  font-size: 20px;
  font-weight: 540;
  letter-spacing: -0.042em;
}

.conversation-heading > p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #797e87;
}

.conversation-heading > p i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #e2e4e6;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.32);
}

.conversation-stage {
  min-height: 538px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px 34px;
  background-image:
    linear-gradient(rgba(111, 116, 126, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 116, 126, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

.conversation-window {
  width: min(760px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #454950;
  border-radius: 3px;
  background: #15161a;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.conversation-bar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #2e3137;
  color: #777c85;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  background: #1a1b1f;
}

.conversation-bar span {
  display: flex;
  align-items: center;
  gap: 9px;
}

.conversation-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #888d95;
}

.conversation-bar strong {
  color: #dfe1e4;
  font-family: inherit;
  font-size: 12px;
  font-weight: 540;
  letter-spacing: -0.02em;
}

.conversation-bar b {
  color: #5f646d;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.conversation-output {
  position: relative;
  height: 294px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px 22px;
  border-bottom: 1px solid #303238;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.008), transparent 34%),
    #121317;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.conversation-output::-webkit-scrollbar {
  display: none;
}

.output-empty {
  position: absolute;
  left: 50%;
  top: 50%;
  color: #676c75;
  text-align: center;
  transform: translate(-50%, -50%);
}

.output-empty span {
  color: #8f949c;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.output-empty p {
  margin: 8px 0 0;
  font-size: 12px;
}

.live-composer {
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #1c1d21;
}

.request-copy {
  min-width: 0;
  margin: 0;
  padding: 0 8px;
  overflow: hidden;
  color: #dfe1e4;
  font-size: 14px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 0;
}

.voice-slot {
  width: 0;
  height: 38px;
  display: inline-flex;
  overflow: hidden;
  opacity: 0;
  transition: width 240ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
}

.voice-slot.is-ready {
  width: 38px;
  opacity: 1;
}

.voice-button {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid #494d54;
  border-radius: 3px;
  color: #dfe2e5;
  background: #25272c;
  cursor: pointer;
  animation: voice-arrive 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.voice-button:hover,
.voice-button:focus-visible {
  border-color: #777c85;
  outline: 0;
  background: #2d2f35;
}

.microphone-icon {
  display: block;
}

.voice-button.is-listening {
  color: #f5f6f7;
  border-color: #7f848d;
  box-shadow: -1px 0 rgba(37, 244, 238, 0.72), 1px 0 rgba(254, 44, 85, 0.68), 0 0 18px rgba(255, 255, 255, 0.12);
}

.voice-button.is-listening::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(220, 223, 227, 0.34);
  border-radius: 6px;
  animation: voice-listening 1s ease-out infinite;
}

@keyframes voice-arrive {
  from { opacity: 0; transform: scale(0.65) translateX(8px); }
  to { opacity: 1; transform: scale(1) translateX(0); }
}

@keyframes voice-listening {
  from { opacity: 0.8; transform: scale(0.86); }
  to { opacity: 0; transform: scale(1.18); }
}

.demo-send {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #eceef0;
  border-radius: 3px;
  color: #18191c;
  background: #eceef0;
  cursor: pointer;
}

.send-icon {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #18191c;
}

.demo-send:hover {
  background: #ffffff;
}

.demo-send:disabled {
  cursor: wait;
  opacity: 0.58;
}

.demo-send.is-inviting {
  box-shadow:
    0 0 0 2px #15161a,
    -2px 0 rgba(37, 244, 238, 0.72),
    2px 0 rgba(254, 44, 85, 0.68);
}

.demo-send.is-inviting > .reicon-slot {
  animation: send-invite 1.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}

.demo-send.is-inviting::before {
  content: "";
  position: absolute;
  inset: -5px;
  pointer-events: none;
  border: 1px solid rgba(222, 225, 229, 0.58);
  border-radius: 6px;
  animation: send-invite-ring 1.8s ease-out infinite;
}

@keyframes send-invite {
  0%, 54%, 80%, 100% { transform: translateX(0) rotate(0); }
  60% { transform: translateX(-3px) rotate(-4deg); }
  65% { transform: translateX(3px) rotate(4deg); }
  70% { transform: translateX(-2px) rotate(-2deg); }
  75% { transform: translateX(2px) rotate(2deg); }
}

@keyframes send-invite-ring {
  0%, 48% { opacity: 0; transform: scale(0.84); }
  58% { opacity: 0.75; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.34); }
}

.live-composer.is-building .request-copy {
  color: #858a93;
}

.request-message {
  width: fit-content;
  max-width: 84%;
  margin: 0 0 18px auto;
  padding: 10px 12px;
  border: 1px solid #3d4047;
  border-radius: 3px 3px 0 3px;
  color: #dfe1e4;
  background: #202126;
  font-size: 11px;
  line-height: 1.5;
  animation: output-line-in 160ms ease-out;
}

.build-stream {
  display: grid;
  gap: 4px;
  padding-bottom: 8px;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.build-line {
  display: grid;
  grid-template-columns: 52px 62px 1fr;
  gap: 8px;
  color: #777c85;
  font-size: 9px;
  line-height: 1.45;
  animation: output-line-in 90ms ease-out;
}

.build-line time {
  color: #4f535b;
}

.build-line b {
  color: #90959e;
  font-weight: 500;
}

.build-line span {
  overflow: hidden;
  color: #a8acb3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.build-line.is-code b,
.build-line.is-code span {
  color: #c8cbd0;
}

.build-line.is-success b,
.build-line.is-success span {
  color: #e7e9eb;
}

.build-line.is-accent span {
  text-shadow: -1px 0 rgba(37, 244, 238, 0.46), 1px 0 rgba(254, 44, 85, 0.42);
}

.build-complete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid #4c5058;
  color: #cfd2d6;
  background: #1d1f23;
  animation: completion-in 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.build-complete div {
  display: grid;
  gap: 3px;
}

.build-complete strong {
  color: #f0f1f2;
  font-size: 11px;
  font-weight: 560;
}

.build-complete small {
  color: #717680;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
}

.build-complete > span {
  padding: 4px 7px;
  border: 1px solid #555a62;
  color: #e9ebed;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  box-shadow: -1px 0 rgba(37, 244, 238, 0.46), 1px 0 rgba(254, 44, 85, 0.42);
}

@keyframes output-line-in {
  from { opacity: 0; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes completion-in {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.conversation-footnote {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 20px auto 0;
  color: #5f646c;
}

.conversation-footnote i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #777c84;
}

@media (max-width: 640px) {
  .conversation-heading {
    padding-inline: 18px;
  }

  .conversation-heading > p {
    display: none;
  }

  .conversation-stage {
    padding-inline: 12px;
  }

  .conversation-output {
    height: 330px;
    padding-inline: 14px;
  }

  .build-line {
    grid-template-columns: 44px 52px 1fr;
    gap: 5px;
    font-size: 8px;
  }

  .live-composer {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .composer-controls {
    justify-content: flex-end;
  }

  .conversation-footnote {
    gap: 6px;
    font-size: 7px;
  }
}

.workspace-caption {
  position: absolute;
  left: 50%;
  bottom: 21px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #60656e;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.08em;
  transform: translateX(-50%);
}

.workspace-caption i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #777c84;
}

@media (max-width: 760px) {
  .site-frame {
    width: 100%;
    border-inline: 0;
  }

  .site-header {
    height: 68px;
  }

  .header-inner {
    width: calc(100% - 36px);
  }

  .site-header nav a[href="/#product"],
  .site-header nav .github-link {
    display: none;
  }

  .hero {
    min-height: 380px;
    padding: 0 20px;
  }

  .hero-mark {
    width: 128px;
    height: 128px;
  }

  .hero-line {
    max-width: 520px;
    font-size: 17px;
    white-space: normal;
  }

  .workspace-heading {
    grid-template-columns: 1fr auto;
  }

  .workspace-heading > p {
    display: none;
  }

  .workspace-viewport {
    height: 820px;
  }

  .edge-slot {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .workspace-heading {
    padding-inline: 18px;
  }

  .layout-switcher button {
    min-width: 46px;
  }

  .workspace-caption {
    width: max-content;
    bottom: 14px;
  }
}

.marketplace-demo {
  --section-edge: #3a3c42;
  position: relative;
  min-height: 612px;
  border-top: 1px solid var(--section-edge);
  border-bottom: 1px solid var(--section-edge);
  background: #18191d;
}

.marketplace-stage {
  min-height: 612px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 24px 32px;
  background:
    radial-gradient(circle at 52% 36%, rgba(255, 255, 255, 0.034), transparent 34%),
    repeating-linear-gradient(135deg, rgba(113, 118, 128, 0.026) 0 1px, transparent 1px 42px),
    #17181c;
}

.marketplace-window {
  width: min(760px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #454950;
  border-radius: 3px;
  background: #15161a;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.marketplace-bar {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #2e3137;
  color: #777c85;
  background: #1a1b1f;
  font-family: "SFMono-Regular", Consolas, monospace;
}

.marketplace-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.marketplace-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8e939b;
}

.marketplace-bar strong {
  color: #dfe1e4;
  font-size: 12px;
  font-weight: 540;
  letter-spacing: -0.02em;
}

.marketplace-bar b {
  color: #61666e;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.marketplace-surface {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  background:
    linear-gradient(rgba(111, 116, 126, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 116, 126, 0.045) 1px, transparent 1px),
    #121317;
  background-size: 40px 40px;
}

.market-search-view {
  min-height: 470px;
  display: flex;
  flex-direction: column;
  padding: 34px 34px 30px;
}

.market-intro {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.market-intro span,
.market-results-meta,
.plugin-card small,
.plugin-card-state,
.permission-kicker,
.marketplace-footnote {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.1em;
}

.market-intro span {
  color: #737881;
}

.market-intro p {
  margin: 0;
  color: #cfd1d5;
  font-size: 15px;
  letter-spacing: -0.025em;
}

.market-search {
  height: 50px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 50px;
  align-items: center;
  overflow: visible;
  border: 1px solid #4a4e55;
  border-radius: 3px;
  background: #1b1c21;
  transition: border-color 180ms ease, opacity 180ms ease;
}

.market-search.is-locked {
  border-color: #34373d;
}

.market-search-leading {
  color: #747982;
}

.market-search input {
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  color: #eef0f2;
  background: transparent;
  font: 15px/1.2 "SFMono-Regular", Consolas, monospace;
  caret-color: transparent;
}

.market-search-button,
.party-send {
  position: relative;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  justify-self: center;
  padding: 0;
  border: 1px solid #eff1f2;
  border-radius: 3px;
  color: #191a1e;
  background: #eff1f2;
  cursor: pointer;
}

.market-search-button:hover,
.party-send:hover {
  background: #ffffff;
}

.market-empty {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  color: #626770;
  text-align: center;
}

.market-empty span {
  color: #898e97;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.market-empty p {
  margin: 9px 0 0;
  font-size: 12px;
}

.market-results {
  margin-top: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.market-results.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.market-results-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  color: #747983;
}

.market-results-meta b {
  color: #5e636c;
  font-size: inherit;
  font-weight: 500;
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: #3c3f45;
}

.plugin-card {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  color: #dfe1e4;
  background: #191a1e;
}

.plugin-card-featured {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.055), transparent 34%),
    #1e1f24;
}

.plugin-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plugin-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #44484f;
  border-radius: 3px;
  color: #d8dade;
  background: #24262b;
}

.plugin-icon.is-active {
  box-shadow: -1px 0 rgba(37, 244, 238, 0.66), 1px 0 rgba(254, 44, 85, 0.62);
}

.plugin-card small {
  color: #626771;
}

.plugin-card h3 {
  margin: 0;
  color: #f0f1f2;
  font-size: 15px;
  font-weight: 570;
  letter-spacing: -0.035em;
}

.plugin-card p {
  margin: 6px 0 0;
  color: #8e939b;
  font-size: 11px;
  line-height: 1.45;
}

.plugin-card-state {
  color: #666b73;
}

.plugin-install {
  position: relative;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #e9ebed;
  border-radius: 3px;
  color: #18191c;
  background: #e9ebed;
  font: inherit;
  font-size: 11px;
  font-weight: 620;
  cursor: pointer;
}

.plugin-install:hover {
  background: #ffffff;
}

.market-search-button.is-inviting,
.plugin-install.is-inviting,
.party-send.is-inviting {
  box-shadow:
    0 0 0 2px #15161a,
    -2px 0 rgba(37, 244, 238, 0.72),
    2px 0 rgba(254, 44, 85, 0.68);
}

.market-search-button.is-inviting > .reicon-slot,
.plugin-install.is-inviting > .reicon-slot,
.party-send.is-inviting > .reicon-slot {
  animation: send-invite 1.8s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
}

.market-search-button.is-inviting::before,
.plugin-install.is-inviting::before,
.party-send.is-inviting::before {
  content: "";
  position: absolute;
  inset: -5px;
  pointer-events: none;
  border: 1px solid rgba(222, 225, 229, 0.58);
  border-radius: 6px;
  animation: send-invite-ring 1.8s ease-out infinite;
}

.permission-overlay {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  background: rgba(10, 11, 14, 0.74);
  backdrop-filter: blur(7px);
  transition: opacity 180ms ease;
}

.permission-overlay.is-open {
  opacity: 1;
}

.permission-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid #575b63;
  border-radius: 3px;
  color: #dfe1e4;
  background: #1d1e23;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  transform: translateY(10px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.permission-overlay.is-open .permission-dialog {
  transform: translateY(0) scale(1);
}

.permission-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #3f434a;
  border-radius: 3px;
  color: #a9adb4;
  background: #25262b;
  cursor: pointer;
}

.permission-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid #4b4f56;
  border-radius: 3px;
  color: #e3e5e7;
  background: #282a2f;
}

.permission-kicker {
  color: #7c818a;
}

.permission-dialog h3 {
  margin: 7px 0 0;
  color: #f0f1f2;
  font-size: 22px;
  font-weight: 560;
  letter-spacing: -0.045em;
}

.permission-copy {
  margin: 7px 0 18px;
  color: #858a93;
  font-size: 11px;
}

.permission-list {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: #3c3f46;
}

.permission-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 7px;
  padding: 10px 11px;
  color: #cfd2d5;
  background: #18191d;
}

.permission-list li > .reicon-slot {
  color: #959aa2;
}

.permission-list strong,
.permission-list small {
  display: block;
}

.permission-list strong {
  font-size: 10px;
  font-weight: 540;
}

.permission-list small {
  margin-top: 3px;
  color: #656a72;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.permission-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 18px;
}

.permission-cancel,
.permission-allow {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 3px;
  font: inherit;
  font-size: 10px;
  font-weight: 570;
  cursor: pointer;
}

.permission-cancel {
  border: 1px solid #41454c;
  color: #aeb2b8;
  background: #25262b;
}

.permission-allow {
  border: 1px solid #eceef0;
  color: #18191c;
  background: #eceef0;
}

.permission-allow:disabled {
  cursor: wait;
  opacity: 0.62;
}

.market-chat-view {
  position: relative;
  height: 358px;
  min-height: 358px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 220ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.market-chat-view.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.marketplace-demo.is-chat-active .marketplace-surface {
  min-height: 358px;
}

.market-chat-output {
  flex: 0 0 294px;
}

.market-chat-plugin-state {
  margin-top: 0;
}

.market-chat-hint {
  top: 62%;
}

.market-chat-message {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 180ms ease, transform 200ms ease;
}

.market-chat-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.confetti-layer {
  position: absolute;
  z-index: 10;
  right: 36px;
  bottom: 32px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.confetti-piece {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 10px;
  border-radius: 1px;
  opacity: 0;
  background: var(--confetti-color);
  animation: confetti-burst 900ms cubic-bezier(0.16, 0.76, 0.32, 1) var(--confetti-delay) forwards;
}

.confetti-piece.is-round {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

@keyframes confetti-burst {
  0% { opacity: 1; transform: translate(0, 0) rotate(0); }
  72% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--confetti-x), var(--confetti-y)) rotate(var(--confetti-r)); }
}

.marketplace-footnote {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px auto 0;
  color: #5f646c;
}

.marketplace-footnote i {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #777c84;
}

@media (max-width: 760px) {
  .marketplace-stage {
    padding-inline: 12px;
  }

  .market-search-view {
    padding-inline: 20px;
  }

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

  .plugin-card-featured {
    grid-column: 1 / -1;
    min-height: 150px;
  }

  .marketplace-surface,
  .market-search-view {
    min-height: 590px;
  }
}

@media (max-width: 520px) {
  .marketplace-bar b {
    display: none;
  }

  .market-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .market-search-view {
    padding-inline: 12px;
  }

  .plugin-grid {
    grid-template-columns: 1fr;
  }

  .plugin-card-featured {
    grid-column: auto;
  }

  .marketplace-surface,
  .market-search-view {
    min-height: 820px;
  }

  .permission-dialog {
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    padding: 20px;
  }

  .market-chat-message {
    max-width: 88%;
  }

  .marketplace-footnote {
    gap: 6px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .hero-emphasis::before,
  .hero-emphasis::after {
    animation: none;
  }

  .demo-send.is-inviting > .reicon-slot,
  .demo-send.is-inviting::before,
  .market-search-button.is-inviting > .reicon-slot,
  .market-search-button.is-inviting::before,
  .plugin-install.is-inviting > .reicon-slot,
  .plugin-install.is-inviting::before,
  .party-send.is-inviting > .reicon-slot,
  .party-send.is-inviting::before {
    animation: none;
  }
}

.site-footer {
  position: relative;
  padding: 72px 48px 34px;
  color: #a8acb3;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.028), transparent 30%),
    linear-gradient(180deg, #17181c, #141519);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 72px;
  padding-bottom: 56px;
}

.footer-intro,
.footer-note {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #f0f1f2;
  text-decoration: none;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.footer-brand img {
  width: 42px;
  height: 42px;
}

.footer-intro > p {
  max-width: 390px;
  margin: 24px 0 0;
  color: #737882;
  font-size: 13px;
  line-height: 1.65;
}

.footer-note h2 {
  margin: 0 0 13px;
  color: #e8eaec;
  font-size: 15px;
  font-weight: 590;
  letter-spacing: -0.025em;
}

.footer-note p {
  margin: 0;
  color: #777c85;
  font-size: 11px;
  line-height: 1.65;
}

.footer-note p + p {
  margin-top: 12px;
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 26px;
  border-top: 1px solid #303238;
}

.footer-legal > p {
  margin: 0 0 15px;
  color: #6f747d;
  font-size: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  color: #858a93;
  text-decoration: none;
  font-size: 10px;
  transition: color 160ms ease;
}

.footer-links a:not(:last-child)::after {
  content: "";
  width: 2px;
  height: 2px;
  margin: 0 10px;
  border-radius: 50%;
  background: #555a62;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #f0f1f2;
  outline: 0;
}

.footer-actions {
  display: flex;
  gap: 8px;
}

.footer-actions a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #393c42;
  border-radius: 5px;
  color: #8c9199;
  background: #1c1d21;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.footer-actions a:hover,
.footer-actions a:focus-visible {
  border-color: #5a5f67;
  color: #eceef0;
  outline: 0;
  background: #24262b;
}

@media (max-width: 760px) {
  .site-footer {
    padding: 56px 24px 30px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 42px;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding-inline: 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-actions {
    width: 100%;
  }

  .footer-actions a {
    flex: 1;
  }
}
