:root {
  --brand: #fc603a;
  --brand-deep: #d94826;
  --brand-bright: #ff6f48;
  --brand-soft: rgba(252, 96, 58, 0.1);
  --ink: #0f1218;
  --ink-soft: #252a33;
  --ink-muted: #5b6472;
  --paper: #f5f6f8;
  --paper-2: #ebedf1;
  --surface: #ffffff;
  --line: rgba(15, 18, 24, 0.1);
  --glow: rgba(252, 96, 58, 0.28);
  --font-display: "Outfit", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --shadow-lg: 0 24px 64px rgba(15, 18, 24, 0.12);
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

em {
  font-style: normal;
  color: var(--brand);
  font-weight: 600;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

@media (min-width: 1400px) {
  :root {
    --max: 1360px;
  }

  .container {
    width: min(100% - 3.5rem, var(--max));
  }

  .brand-lockup {
    font-size: clamp(5.2rem, 6.5vw, 7.2rem);
  }

  .hero h1 {
    font-size: clamp(2rem, 2.4vw, 2.65rem);
    max-width: 18ch;
  }

  .hero-lead {
    font-size: 1.18rem;
    max-width: 42ch;
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero-stage {
    width: min(100%, 600px);
  }

  .hero-dashboard {
    min-height: 420px;
  }

  .section-title {
    font-size: clamp(2.1rem, 2.8vw, 3.1rem);
  }

  .section-copy {
    font-size: 1.08rem;
    max-width: 46ch;
  }
}

@media (min-width: 1700px) {
  :root {
    --max: 1520px;
  }

  .container {
    width: min(100% - 4.5rem, var(--max));
  }

  .brand-lockup {
    font-size: clamp(6rem, 5.5vw, 8rem);
  }

  .hero h1 {
    font-size: clamp(2.25rem, 2.2vw, 2.9rem);
  }

  .hero-lead {
    font-size: 1.25rem;
    max-width: 44ch;
  }

  .hero-kicker {
    font-size: 0.85rem;
  }

  .hero-stage {
    width: min(100%, 680px);
  }

  .hero-dashboard {
    min-height: 460px;
  }

  .hero-layout {
    gap: 3.5rem;
  }

  .hero-watermark {
    font-size: clamp(10rem, 18vw, 20rem);
  }

  .section-title {
    font-size: clamp(2.35rem, 2.5vw, 3.35rem);
  }
}

@media (min-width: 2000px) {
  :root {
    --max: 1680px;
  }

  .hero-stage {
    width: min(100%, 740px);
  }

  .hero-dashboard {
    min-height: 500px;
  }
}

.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 70;
}

.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  min-height: 2.15rem;
  text-align: center;
}

.topbar-sep {
  width: 1px;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
}

.site-header {
  position: sticky;
  inset-inline: 0;
  top: 0;
  z-index: 60;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: #161a22;
  color: #fff;
}

body:not(.docs-body) .site-header .logo {
  color: #ffffff;
}

body:not(.docs-body) .site-header .nav-links > li > a {
  color: #f2f4f7;
}

body:not(.docs-body) .site-header .nav-links > li > a:hover,
body:not(.docs-body) .site-header .nav-links > li > a.is-active {
  color: #ffffff;
}

body:not(.docs-body) .site-header .btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

body:not(.docs-body) .site-header .btn-primary {
  color: #ffffff;
}

body:not(.docs-body) .site-header .menu-toggle {
  border-color: rgba(255, 255, 255, 0.35);
}

body:not(.docs-body) .site-header .menu-toggle span,
body:not(.docs-body) .site-header .menu-toggle span::before,
body:not(.docs-body) .site-header .menu-toggle span::after {
  background: #ffffff;
}

.site-header.is-scrolled {
  background: #ffffff;
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(15, 18, 24, 0.06);
  color: var(--ink);
}

body:not(.docs-body) .site-header.is-scrolled .logo {
  color: #0f1218;
}

body:not(.docs-body) .site-header.is-scrolled .nav-links > li > a {
  color: #2a3140;
}

body:not(.docs-body) .site-header.is-scrolled .nav-links > li > a:hover,
body:not(.docs-body) .site-header.is-scrolled .nav-links > li > a.is-active {
  color: #0f1218;
}

body:not(.docs-body) .site-header.is-scrolled .btn-ghost {
  background: #ffffff;
  color: #0f1218;
  border-color: rgba(15, 18, 24, 0.18);
}

body:not(.docs-body) .site-header.is-scrolled .menu-toggle {
  border-color: rgba(15, 18, 24, 0.18);
}

body:not(.docs-body) .site-header.is-scrolled .menu-toggle span,
body:not(.docs-body) .site-header.is-scrolled .menu-toggle span::before,
body:not(.docs-body) .site-header.is-scrolled .menu-toggle span::after {
  background: #0f1218;
}

.docs-body .site-header,
.docs-body .site-header.is-scrolled {
  background: #ffffff;
  color: var(--ink);
  border-bottom-color: var(--line);
}

.docs-body .site-header .logo,
.docs-body .site-header .nav-links > li > a {
  color: #2a3140;
}

.docs-body .site-header .logo:hover,
.docs-body .site-header .nav-links > li > a:hover,
.docs-body .site-header .nav-links > li > a.is-active {
  color: #0f1218;
}

.docs-body .site-header .btn-ghost {
  background: #fff;
  color: #0f1218;
  border-color: var(--line);
}

.docs-body .site-header .menu-toggle {
  border-color: var(--line);
}

.docs-body .site-header .menu-toggle span,
.docs-body .site-header .menu-toggle span::before,
.docs-body .site-header .menu-toggle span::after {
  background: #0f1218;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.35rem;
  gap: 1rem;
}

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

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.6rem 0.28rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 206, 122, 0.35);
  background: rgba(61, 206, 122, 0.12);
  color: #7dffb0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topbar .system-status {
  border-color: rgba(61, 206, 122, 0.35);
  background: rgba(61, 206, 122, 0.12);
  color: #9af0c0;
}

.docs-body .system-status {
  border-color: rgba(31, 122, 69, 0.28);
  background: rgba(61, 206, 122, 0.12);
  color: #1f7a45;
}

.system-status-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #3dce7a;
  box-shadow: 0 0 0 0 rgba(61, 206, 122, 0.55);
  animation: statusPulse 1.8s ease-out infinite;
}

.docs-body .system-status-dot {
  background: #22a85a;
}

.system-status-text {
  line-height: 1;
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 206, 122, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(61, 206, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 206, 122, 0); }
}

@media (max-width: 720px) {
  .topbar .system-status-text {
    display: none;
  }

  .topbar .system-status {
    padding: 0.3rem;
  }
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.035em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.4rem;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  border-radius: 0.55rem;
  padding: 0.82rem 1.25rem;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px var(--glow);
}

.btn-primary:hover {
  background: var(--brand-deep);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  border-color: rgba(15, 18, 24, 0.2);
  background: #fff;
}

.btn-on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.84rem;
}

.hero {
  position: relative;
  min-height: calc(100vh - 2.15rem);
  padding: 3.5rem 0 5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(125deg, #1a1e26 0%, #12151c 42%, #2a1820 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  animation: drift 16s ease-in-out infinite;
}

.hero-orb-a {
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  right: -12%;
  top: -18%;
  background: radial-gradient(circle, rgba(252, 96, 58, 0.55) 0%, rgba(252, 96, 58, 0.12) 45%, transparent 70%);
  opacity: 1;
}

.hero-orb-b {
  width: 40vw;
  height: 40vw;
  left: -14%;
  bottom: -10%;
  background: radial-gradient(circle, rgba(255, 130, 90, 0.22) 0%, transparent 68%);
  animation-delay: -5s;
}

.hero-orb-c {
  width: 28vw;
  height: 28vw;
  right: 28%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  animation-delay: -9s;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 85% 70% at 55% 40%, #000 15%, transparent 78%);
}

.hero-watermark {
  position: absolute;
  left: -3%;
  bottom: -8%;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(7rem, 20vw, 17rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  user-select: none;
  pointer-events: none;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 980px) {
  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.hero-copy {
  max-width: 36rem;
  animation: rise 0.9s ease both;
  color: #fff;
  position: relative;
  z-index: 5;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1rem;
}

.hero-kicker::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--brand);
}

.brand-lockup {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.8rem, 11vw, 6.8rem);
  letter-spacing: -0.06em;
  line-height: 0.9;
  margin-bottom: 1.15rem;
  color: #fff;
}

.brand-lockup span {
  color: var(--brand-bright);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: clamp(1.55rem, 3.1vw, 2.2rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 1rem;
  max-width: 16ch;
  color: rgba(255, 255, 255, 0.92);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.64);
  font-size: 1.08rem;
  max-width: 38ch;
  margin-bottom: 1.75rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  position: relative;
  z-index: 6;
}

.hero-actions .btn {
  pointer-events: auto;
  cursor: pointer;
}

.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  align-items: center;
}

.hero-proof > span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.35rem 0.65rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stage {
  position: relative;
  justify-self: center;
  width: min(100%, 560px);
  animation: rise 1s ease 0.15s both;
  z-index: 1;
  pointer-events: none;
}

.hero-dashboard {
  pointer-events: none;
}

.hero-dashboard {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.88fr 1.25fr;
  min-height: 360px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}

.hd-side {
  background: #f3f5f8;
  border-right: 1px solid var(--line);
  padding: 0.85rem 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hd-side-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
}

.hd-nav-item {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
}

.hd-nav-item.is-on {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.hd-team {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.hd-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.hd-add {
  color: var(--brand-deep);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.72rem;
  background: #fff;
  border: 1px solid rgba(252, 96, 58, 0.3);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.hd-agent {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.25rem;
}

.hd-agent b {
  display: block;
  font-size: 0.74rem;
}

.hd-agent small {
  color: var(--ink-muted);
  font-size: 0.62rem;
}

.hd-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #eef1f4;
}

.hd-main-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.hd-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem;
}

.hd-thread .msg-typing {
  display: inline-flex;
  align-self: flex-start;
}

.hd-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0.75rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.45rem 0.5rem 0.45rem 0.75rem;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

@media (max-width: 560px) {
  .hero-dashboard {
    grid-template-columns: 1fr;
  }

  .hd-side {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.stage-glow {
  position: absolute;
  inset: 5% -12% -12%;
  background: radial-gradient(circle at 50% 40%, rgba(252, 96, 58, 0.45), transparent 65%);
  filter: blur(24px);
  z-index: 0;
}

.hero-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.85rem;
}

.hero-dash-mini {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1rem;
  padding: 0.85rem 0.9rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform: rotate(-2deg);
  margin-right: 1.5rem;
}

.hdm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.88rem;
}

.hdm-row {
  padding: 0.5rem 0.55rem;
  border-radius: 0.5rem;
  margin-bottom: 0.3rem;
  background: var(--paper);
}

.hdm-row.is-on {
  background: var(--brand-soft);
}

.hdm-row b {
  display: block;
  font-size: 0.8rem;
}

.hdm-row small {
  color: var(--ink-muted);
  font-size: 0.7rem;
}

.hdm-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.hdm-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3dce7a;
  box-shadow: 0 0 0 4px rgba(61, 206, 122, 0.2);
}

.widget {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 1.15rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transform: rotate(1.5deg);
  margin-left: 1rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-stage:hover .widget {
  transform: rotate(0deg);
  box-shadow: 0 28px 70px rgba(15, 18, 24, 0.22);
}

.hero-stage:hover .hero-dash-mini {
  transform: rotate(0deg);
}

.widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
}

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

.chat-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(252, 96, 58, 0.35);
  animation: pulseRing 2.2s ease-out infinite;
  padding-top: 0.1rem;
}

.chat-avatar::after {
  content: "";
  position: absolute;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #3dce7a;
  border: 2px solid #fff;
  right: 0;
  bottom: 0;
}

.avatar-bot {
  display: block;
  opacity: 0.95;
  width: 13px;
  height: 13px;
}

.avatar-label {
  font-size: 0.42rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.95;
  white-space: nowrap;
}

.widget-identity strong {
  display: block;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.widget-identity small {
  color: var(--ink-muted);
  font-size: 0.72rem;
}

.widget-chip {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 0.35rem;
  padding: 0.3rem 0.5rem;
}

.widget-body {
  padding: 1.1rem;
  display: grid;
  gap: 0.75rem;
  min-height: 260px;
  background:
    linear-gradient(180deg, transparent, rgba(252, 96, 58, 0.03)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 10px,
      rgba(18, 20, 26, 0.015) 10px,
      rgba(18, 20, 26, 0.015) 11px
    );
}

.msg {
  max-width: 88%;
  display: grid;
  gap: 0.25rem;
  animation: bubbleIn 0.5s ease both;
}

.msg:nth-child(1) { animation-delay: 0.4s; }
.msg:nth-child(2) { animation-delay: 0.75s; }
.msg:nth-child(3) { animation-delay: 1.1s; }

.msg span {
  padding: 0.8rem 0.95rem;
  border-radius: 1.05rem;
  font-size: 0.86rem;
  line-height: 1.45;
}

.msg time {
  font-size: 0.68rem;
  color: var(--ink-muted);
  padding: 0 0.35rem;
}

.msg-in {
  justify-self: start;
}

.msg-in span {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 0.3rem;
}

.msg-out {
  justify-self: end;
  text-align: right;
}

.msg-out span {
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 0.3rem;
  display: inline-block;
}

.msg-typing {
  justify-self: start;
  width: fit-content;
  padding: 0.45rem 0.65rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  border-bottom-left-radius: 0.25rem;
  display: none;
  gap: 0.18rem;
  align-items: center;
}

.msg-typing.is-on {
  display: inline-flex;
  animation: bubbleIn 0.35s ease both;
}

.msg-typing .dot {
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: var(--ink-muted);
  animation: typing 1.1s infinite ease-in-out;
}

.msg-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.msg-typing .dot:nth-child(3) { animation-delay: 0.3s; }

.widget-foot {
  margin: 0 1rem 1rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.45rem 0 1.05rem;
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.send-orb {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 8px 18px var(--glow);
  position: relative;
}

.send-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: rotate(45deg) translate(-1px, 1px);
}

.float-card {
  position: absolute;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.75rem 0.95rem;
  box-shadow: 0 12px 32px rgba(15, 18, 24, 0.1);
  backdrop-filter: blur(10px);
  animation: floatY 7s ease-in-out infinite;
  min-width: 10.5rem;
  pointer-events: none;
}

.float-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.25rem;
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 0.98rem;
  margin-bottom: 0.15rem;
}

.float-card span:not(.float-label) {
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.key-mono {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace !important;
  font-stretch: normal !important;
  font-size: 0.78rem !important;
  letter-spacing: -0.02em !important;
}

.float-dash {
  top: 6%;
  left: -14%;
}

.float-key {
  right: -12%;
  bottom: 16%;
  animation-delay: -1.8s;
}

.marquee {
  display: none;
}

.trust-bar {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 2.25rem 0 1.75rem;
  overflow: hidden;
}

.trust-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
}

.trust-slider {
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trust-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: trustSlide 38s linear infinite;
  padding-bottom: 0.5rem;
}

.trust-slider:hover .trust-track {
  animation-play-state: paused;
}

.trust-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: rgba(15, 18, 24, 0.55);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.trust-logo svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.trust-logo:hover {
  color: var(--ink);
  border-color: rgba(252, 96, 58, 0.35);
  background: #fff;
}

.trust-logo:hover svg {
  opacity: 1;
  color: var(--brand);
}

@keyframes trustSlide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section {
  padding: 6rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 0.9rem;
  max-width: 18ch;
}

.section-copy {
  color: var(--ink-muted);
  max-width: 42ch;
  font-size: 1.02rem;
}

.how {
  background: var(--surface);
}

.how-intro {
  margin-bottom: 3rem;
  max-width: 40rem;
}

.flow {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.flow-step {
  padding: 1.6rem 0 0;
  border-top: 2px solid var(--ink);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.3s ease;
}

.flow-step.is-visible {
  opacity: 1;
  transform: none;
}

.flow-step:hover {
  border-top-color: var(--brand);
}

.flow-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: -0.04em;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 1.1rem;
}

.flow-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  margin-bottom: 0.55rem;
}

.flow-step p {
  color: var(--ink-muted);
  font-size: 0.94rem;
  margin-bottom: 1.1rem;
}

.flow-outcomes {
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.flow-outcomes li {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.flow-outcomes li::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.flow-visual {
  height: 88px;
  border-radius: 1rem;
  background: linear-gradient(145deg, #f4f6f8, #e8ecf1);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.theme-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.swatch {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  background: var(--sw);
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(18, 20, 26, 0.12);
}

.key-visual code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.88rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  color: var(--ink-soft);
}

.mount-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.45rem;
  padding-bottom: 1.2rem;
}

.mount-visual span {
  width: 1.1rem;
  border-radius: 0.3rem 0.3rem 0 0;
  background: var(--brand);
  animation: barPulse 1.6s ease-in-out infinite;
}

.mount-visual span:nth-child(1) { height: 28%; animation-delay: 0s; opacity: 0.45; }
.mount-visual span:nth-child(2) { height: 58%; animation-delay: 0.15s; opacity: 0.7; }
.mount-visual span:nth-child(3) { height: 84%; animation-delay: 0.3s; }

.customize {
  background:
    radial-gradient(ellipse 50% 45% at 0% 20%, rgba(252, 96, 58, 0.1), transparent 55%),
    var(--paper);
}

.customize-intro {
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.customize-stage {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.customize-stage.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 960px) {
  .customize-stage {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
}

.dash-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: 0 20px 50px rgba(18, 20, 26, 0.06);
}

.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.dash-top strong {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  font-size: 1.1rem;
}

.dash-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 0.3rem 0.6rem;
}

.dash-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.dash-field > span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.color-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.55rem 0.75rem;
}

.color-chip {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 0.35rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.color-row code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.88rem;
}

.fake-input {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.fake-input-tall {
  min-height: 3.2rem;
}

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

.opt {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  background: #fff;
}

.opt.is-on {
  background: var(--brand-soft);
  border-color: transparent;
  color: var(--brand-deep);
}

.dash-note {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(252, 96, 58, 0.08), rgba(252, 96, 58, 0.02));
  border: 1px solid rgba(252, 96, 58, 0.18);
}

.customize-preview {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.85rem;
  padding: 1.5rem;
  border-radius: 1.35rem;
  background:
    linear-gradient(160deg, #e8ecf1, #f4f6f8 55%, #e5e9ef);
  border: 1px solid var(--line);
}

.preview-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.widget-static {
  width: min(100%, 320px);
  transform: none;
  animation: none;
}

.widget-static .widget-body {
  min-height: 180px;
}

.widget-static .msg {
  animation: none;
  opacity: 1;
}

.keys {
  background: var(--surface);
}

.keys-intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.key-cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .key-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.key-card {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.4rem 1.35rem 1.5rem;
  background: var(--paper);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s ease;
}

.key-card.is-visible {
  opacity: 1;
  transform: none;
}

.key-card:hover {
  border-color: rgba(252, 96, 58, 0.35);
}

.key-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.key-type {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
}

.key-type.pub {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.key-type.secret {
  background: rgba(18, 20, 26, 0.08);
  color: var(--ink);
}

.key-env {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
}

.key-desc {
  color: var(--ink-muted);
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

.key-value {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #15181f;
  color: #e7e9ee;
  border-radius: 0.85rem;
  padding: 0.85rem 0.9rem;
  margin-bottom: 1rem;
}

.key-value code {
  flex: 1;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: clamp(0.72rem, 2.2vw, 0.88rem);
  overflow-x: auto;
  white-space: nowrap;
}

.key-value-masked code {
  color: #ff9a7a;
}

.key-copy {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 600;
}

.key-copy:hover {
  border-color: var(--brand);
  color: var(--brand-bright);
}

.key-meta {
  list-style: none;
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.key-meta code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.8em;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.3rem;
  padding: 0.05rem 0.3rem;
  color: var(--ink);
}

.snippet-key-callout {
  margin-top: 1.35rem;
  display: grid;
  gap: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: 0.9rem;
  background: #15181f;
  color: #e7e9ee;
  width: fit-content;
  max-width: 100%;
}

.snippet-key-callout code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.88rem;
  color: #9ad4b1;
  overflow-wrap: anywhere;
}

.capabilities {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.capabilities::before {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  left: -20vw;
  bottom: -30vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 96, 58, 0.28), transparent 68%);
  pointer-events: none;
}

.cap-head {
  position: relative;
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.capabilities .section-copy {
  color: rgba(255, 255, 255, 0.6);
}

.cap-bento {
  position: relative;
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .cap-bento {
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .cap-tile-lg {
    grid-row: span 2;
  }

  .cap-tile-wide {
    grid-column: span 2;
  }
}

.cap-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.1rem;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s ease, background 0.25s ease;
}

.cap-tile.is-visible {
  opacity: 1;
  transform: none;
}

.cap-tile:hover {
  border-color: rgba(252, 96, 58, 0.45);
  background: rgba(252, 96, 58, 0.08);
}

.cap-tile-lg {
  justify-content: space-between;
  min-height: 100%;
  background:
    linear-gradient(160deg, rgba(252, 96, 58, 0.18), rgba(255, 255, 255, 0.03) 55%);
}

.cap-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-bright);
}

.cap-tile h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.cap-tile p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cap-tile-wide {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cap-tile-wide > div:first-child {
  flex: 1;
  min-width: 16rem;
  display: grid;
  gap: 0.55rem;
}

.cap-soon-note {
  background: rgba(0, 0, 0, 0.28);
  border: 1px dashed rgba(252, 96, 58, 0.45);
  border-radius: 0.85rem;
  padding: 1rem 1.15rem;
  min-width: 12rem;
}

.cap-soon-note strong {
  display: block;
  font-family: var(--font-display);
  margin-bottom: 0.3rem;
}

.cap-soon-note span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.88rem;
}

.cap-tile-visual {
  margin-top: 1.5rem;
  height: 7rem;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 1.25rem;
}

.cap-viz-panel span {
  flex: 1;
  border-radius: 0.4rem 0.4rem 0 0;
  background: linear-gradient(180deg, var(--brand-bright), var(--brand-deep));
  opacity: 0.85;
}

.cap-viz-panel span:nth-child(1) { height: 42%; opacity: 0.45; }
.cap-viz-panel span:nth-child(2) { height: 68%; opacity: 0.7; }
.cap-viz-panel span:nth-child(3) { height: 92%; }

.cap-rail,
.cap {
  display: none;
}

.signal {
  display: none;
}

.reliability {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.reliability::before {
  content: "";
  position: absolute;
  width: 50vw;
  height: 50vw;
  right: -18vw;
  top: -22vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 96, 58, 0.28), transparent 68%);
  pointer-events: none;
}

.reliability-head {
  position: relative;
  max-width: 40rem;
  margin-bottom: 2.75rem;
}

.reliability .section-copy {
  color: rgba(255, 255, 255, 0.62);
}

.reliability-grid {
  position: relative;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 860px) {
  .reliability-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.reliability-grid > div {
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (min-width: 860px) {
  .reliability-grid > div:nth-child(odd) {
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .reliability-grid > div:nth-child(even) {
    padding-left: 2rem;
  }
}

.reliability-grid > div.is-visible {
  opacity: 1;
  transform: none;
}

.reliability-grid dt {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.04em;
  color: var(--brand-bright);
  margin-bottom: 0.4rem;
}

.reliability-grid dd {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.98rem;
  max-width: 34ch;
}

.snippet-section {
  background: var(--surface);
}

.snippet-layout {
  display: grid;
  gap: 2.5rem;
  align-items: end;
}

@media (min-width: 900px) {
  .snippet-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.integrate-section {
  background: var(--surface);
}

.integrate-intro {
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.integrate-board {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 980px) {
  .integrate-board {
    grid-template-columns: 0.9fr 1.2fr;
    gap: 2rem;
  }
}

.integrate-meta {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.integrate-groups {
  display: grid;
  gap: 1.15rem;
}

.integrate-group-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.55rem;
}

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

.integrate-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 0.55rem;
  padding: 0.48rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.integrate-tab .stack-logo {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  background: #fff;
  border-radius: 0.2rem;
  padding: 0.08rem;
}

.integrate-tab:hover {
  border-color: rgba(252, 96, 58, 0.45);
  color: var(--ink);
}

.integrate-tab.is-active {
  border-color: transparent;
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(252, 96, 58, 0.28);
}

.integrate-panels {
  position: relative;
  min-height: 18rem;
}

.integrate-panel {
  display: none;
  margin: 0;
  padding: 1.35rem 1.25rem 1.7rem;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.84rem;
  line-height: 1.75;
  color: #e7e9ee;
}

.integrate-panel.is-active {
  display: block;
}

.integrate-panel[hidden] {
  display: none !important;
}

.integrate-panel code {
  display: block;
  white-space: pre;
  color: inherit;
}

.integrate-panel-wp {
  font-family: var(--font-body);
  padding: 1rem 1rem 1.25rem;
}

.integrate-panel-wp pre {
  margin: 0;
  padding: 0.85rem 0.2rem 0.35rem;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.84rem;
  line-height: 1.75;
  color: #e7e9ee;
  background: transparent;
}

.integrate-alert {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.95rem;
  border-radius: 0.7rem;
  background: rgba(252, 176, 58, 0.14);
  border: 1px solid rgba(252, 176, 58, 0.45);
  color: #ffe2a8;
  font-size: 0.86rem;
  line-height: 1.45;
}

.integrate-alert strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffc857;
}

.integrate-alert strong::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ffc857;
  box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.25);
}

.integrate-alert p {
  margin: 0;
  color: rgba(255, 236, 200, 0.92);
}

.integrate-alert a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  width: fit-content;
}

.integrate-alert a:hover {
  color: #ffc857;
}

.tok-kw { color: #8ec8ff; }
.tok-com { color: rgba(255, 255, 255, 0.38); }

.text-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 600;
  color: var(--brand-deep);
  transition: transform 0.2s ease;
}

.text-link:hover {
  transform: translateX(4px);
}

.terminal {
  background: #15181f;
  color: #e7e9ee;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.terminal.is-visible {
  opacity: 1;
  transform: none;
}

.terminal.integrate-terminal {
  opacity: 1;
  transform: none;
  min-height: 22rem;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.traffic {
  display: flex;
  gap: 0.35rem;
}

.traffic span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: #3a3f4a;
}

.traffic span:nth-child(1) { background: #ff5f57; }
.traffic span:nth-child(2) { background: #febc2e; }
.traffic span:nth-child(3) { background: #28c840; }

.terminal-title {
  flex: 1;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.copy-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 600;
}

.copy-btn:hover {
  border-color: var(--brand);
  color: var(--brand-bright);
}

.terminal pre {
  padding: 1.35rem 1.25rem 1.7rem;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.84rem;
  line-height: 1.75;
}

.tok-tag { color: #8ec8ff; }
.tok-attr { color: #ff9a7a; }
.tok-str { color: #9ad4b1; }
.tok-fn { color: #ffd28a; }
.tok-key { color: #ff9a7a; }
.tok-obj { color: #c3b4ff; }

.soon-pill {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-left: 0.35rem;
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 0.3rem;
  padding: 0.18rem 0.4rem;
  line-height: 1;
}

.platform {
  background: var(--paper);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.platform-board {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  padding: 2.25rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% -10%, rgba(252, 96, 58, 0.4), transparent 55%),
    linear-gradient(145deg, #1a1e26 0%, #12151c 55%, #1c1418 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.platform-board.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 900px) {
  .platform-board {
    padding: 2.75rem 2.75rem 2.5rem;
  }
}

.platform-board-copy {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.platform-board .section-label {
  color: var(--brand-bright);
}

.platform-board .section-title {
  color: #fff;
  max-width: 16ch;
}

.platform-board .section-copy {
  color: rgba(255, 255, 255, 0.62);
  max-width: 44ch;
  margin-bottom: 1.35rem;
}

.platform-board-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.platform-rail {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .platform-rail {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0.75rem;
  }
}

.pr-node {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.15rem;
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.pr-node:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(252, 96, 58, 0.4);
  transform: translateY(-4px);
}

.pr-node.is-hot {
  background: linear-gradient(165deg, rgba(252, 96, 58, 0.22), rgba(255, 255, 255, 0.04));
  border-color: rgba(252, 96, 58, 0.35);
}

.pr-visual {
  height: 104px;
  border-radius: 0.85rem;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.pr-visual-dash {
  padding: 0.75rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.pr-dash-bar {
  height: 0.55rem;
  width: 42%;
  border-radius: 999px;
  background: var(--brand);
  opacity: 0.9;
}

.pr-dash-rows {
  display: grid;
  gap: 0.4rem;
}

.pr-dash-rows span {
  display: block;
  height: 1.35rem;
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.08);
}

.pr-dash-rows span:nth-child(1) { width: 92%; }
.pr-dash-rows span:nth-child(2) { width: 78%; background: rgba(252, 96, 58, 0.22); }
.pr-dash-rows span:nth-child(3) { width: 64%; }

.pr-visual-key {
  display: grid;
  place-content: center;
  gap: 0.4rem;
  text-align: center;
}

.pr-visual-key code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.84rem;
  color: #9ad4b1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
}

.pr-visual-key small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #3dce7a;
}

.pr-visual-chat {
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  justify-content: center;
}

.pr-bubble {
  height: 1.15rem;
  border-radius: 0.75rem;
  max-width: 78%;
}

.pr-bubble.in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.14);
  width: 70%;
}

.pr-bubble.out {
  align-self: flex-end;
  background: var(--brand);
  width: 62%;
}

.pr-bubble.short {
  width: 48%;
}

.pr-meta {
  display: grid;
  gap: 0.35rem;
  padding: 0 0.15rem 0.15rem;
}

.pr-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-bright);
}

.pr-meta h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.pr-meta p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
  line-height: 1.45;
}

.pr-connector {
  display: none;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
}

.pr-connector span {
  display: block;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(252, 96, 58, 0.2), var(--brand), rgba(252, 96, 58, 0.2));
  position: relative;
}

.pr-connector span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--brand);
  border-top: 2px solid var(--brand);
  transform: translateY(-50%) rotate(45deg);
}

@media (min-width: 900px) {
  .pr-connector {
    display: flex;
  }
}

.platform-layout,
.platform-map,
.platform-intro,
.platform-points,
.pmap-card,
.pmap-arrow {
  display: none;
}

.dashboard {
  background:
    radial-gradient(ellipse 55% 40% at 100% 0%, rgba(252, 96, 58, 0.08), transparent 55%),
    var(--paper);
}

.dashboard-intro {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.shot-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 980px) {
  .shot-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

.dash-shot {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.dash-shot.is-visible {
  opacity: 1;
  transform: none;
}

.shot-frame {
  background: #15181f;
  border-radius: 0.95rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.72rem;
}

.shot-body {
  min-height: 280px;
  background: #f4f6f8;
  color: var(--ink);
}

.team-chat {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  background: #eef1f4;
}

.team-chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.team-who {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.team-av {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--brand-bright), var(--brand-deep));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.team-av.alt {
  background: linear-gradient(145deg, #3a4558, #1c2430);
}

.team-av.soft {
  background: linear-gradient(145deg, #6b7c93, #445064);
}

.team-av.sm {
  width: 1.55rem;
  height: 1.55rem;
  font-size: 0.62rem;
}

.team-who strong {
  display: block;
  font-size: 0.84rem;
  letter-spacing: -0.02em;
}

.team-who small {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

.team-thread {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 0.85rem;
  overflow: hidden;
}

.team-thread.compact {
  padding: 0.65rem;
  gap: 0.45rem;
}

.tc-msg {
  max-width: 88%;
  display: grid;
  gap: 0.2rem;
}

.tc-msg:not(.system) > span:first-child {
  padding: 0.55rem 0.7rem;
  border-radius: 0.85rem;
  font-size: 0.74rem;
  line-height: 1.4;
}

.tc-msg time {
  font-size: 0.62rem;
  color: var(--ink-muted);
  padding: 0 0.25rem;
}

.tc-msg.visitor {
  align-self: flex-start;
}

.tc-msg.visitor > span:first-child {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-left-radius: 0.25rem;
}

.tc-msg.agent {
  align-self: flex-end;
  text-align: right;
}

.tc-msg.agent > span:first-child {
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
}

.tc-msg.system {
  align-self: center;
  max-width: 94%;
  text-align: center;
}

.tc-msg.system .sys-label {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 0.3rem;
  padding: 0.15rem 0.4rem;
  margin-bottom: 0.25rem;
}

.tc-msg.system > span:not(.sys-label) {
  display: block;
  background: rgba(255, 255, 255, 0.88);
  border: 1px dashed rgba(252, 96, 58, 0.35);
  color: var(--ink-soft);
  border-radius: 0.75rem;
  text-align: left;
  padding: 0.55rem 0.7rem;
  font-size: 0.74rem;
  line-height: 1.4;
}

.tc-typing {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.4rem 0.6rem;
}

.tc-typing .dot {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: var(--ink-muted);
  animation: typing 1.1s infinite ease-in-out;
}

.tc-typing .dot:nth-child(2) { animation-delay: 0.15s; }
.tc-typing .dot:nth-child(3) { animation-delay: 0.3s; }

.tc-typing em {
  font-style: normal;
  font-size: 0.65rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.team-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0.75rem 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.45rem 0.5rem 0.45rem 0.75rem;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.team-chat-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  min-height: 320px;
}

.team-queue {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 0.7rem 0.55rem;
}

.team-queue-title {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.2rem 0.4rem 0.65rem;
}

.tq-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem;
  border-radius: 0.5rem;
  margin-bottom: 0.25rem;
}

.tq-item.is-on {
  background: var(--brand-soft);
}

.tq-item b {
  display: block;
  font-size: 0.74rem;
}

.tq-item small {
  color: var(--ink-muted);
  font-size: 0.64rem;
}

@media (max-width: 520px) {
  .team-chat-split {
    grid-template-columns: 1fr;
  }

  .team-queue {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.shot-side {
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 0.75rem 0.55rem;
}

.shot-side-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding: 0.25rem 0.45rem 0.65rem;
}

.shot-row {
  padding: 0.55rem 0.5rem;
  border-radius: 0.45rem;
  margin-bottom: 0.25rem;
}

.shot-row b {
  display: block;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}

.shot-row small {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

.shot-row.is-active {
  background: var(--brand-soft);
}

.shot-main {
  display: flex;
  flex-direction: column;
  padding: 0.65rem;
  gap: 0.55rem;
}

.shot-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
}

.shot-tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 0.3rem;
  padding: 0.2rem 0.4rem;
}

.shot-tag.ok {
  color: #1f7a45;
  background: rgba(61, 206, 122, 0.16);
}

.shot-msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shot-bubble {
  max-width: 92%;
  font-size: 0.72rem;
  line-height: 1.35;
  padding: 0.45rem 0.55rem;
  border-radius: 0.65rem;
}

.shot-bubble.in {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
}

.shot-bubble.out {
  align-self: flex-end;
  background: var(--brand);
  color: #fff;
}

.shot-compose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.4rem 0.45rem 0.4rem 0.65rem;
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.shot-send {
  background: var(--brand);
  color: #fff;
  border-radius: 0.35rem;
  padding: 0.28rem 0.55rem;
  font-weight: 700;
  font-size: 0.68rem;
}

.shot-auto,
.shot-api {
  padding: 0.9rem;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.shot-auto-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.auto-rule {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.65rem 0.7rem;
}

.auto-rule b {
  display: block;
  font-size: 0.78rem;
}

.auto-rule small {
  color: var(--ink-muted);
  font-size: 0.68rem;
}

.auto-rule p {
  margin-top: 0.4rem;
  font-size: 0.74rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.auto-rule.is-muted {
  opacity: 0.78;
  border-style: dashed;
}

.api-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.74rem;
}

.api-line span {
  color: var(--ink-muted);
  flex-shrink: 0;
}

.api-line code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.7rem;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.shot-btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--brand);
  color: #fff;
  border-radius: 0.4rem;
  padding: 0.4rem 0.65rem;
}

.shot-btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.dash-shot figcaption {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.25rem;
}

.dash-shot figcaption strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.dash-shot figcaption span {
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.pricing {
  background: var(--surface);
}

.pricing-intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.price-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.price-card {
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem 1.45rem;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, border-color 0.25s ease;
}

.price-card.is-visible {
  opacity: 1;
  transform: none;
}

.price-card.is-featured {
  background: #fff;
  border-color: rgba(252, 96, 58, 0.45);
  box-shadow: 0 18px 48px rgba(252, 96, 58, 0.12);
  position: relative;
}

.price-badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border-radius: 0.3rem;
  padding: 0.25rem 0.45rem;
}

.price-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink-muted);
}

.price-amount span {
  font-size: 2.3rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-right: 0.15rem;
}

.price-desc {
  color: var(--ink-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  min-height: 2.8em;
}

.price-features {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0.35rem 0 0.75rem;
  flex: 1;
}

.price-features li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 1.1rem;
  position: relative;
}

.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--brand);
}

.price-card .btn {
  width: 100%;
}

.cta-band {
  padding: 2rem 0 3rem;
  background: var(--surface);
}

.cta-panel {
  display: grid;
  gap: 1.75rem;
  padding: 2.5rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(252, 96, 58, 0.32), transparent 55%),
    linear-gradient(135deg, #1a1e26, #0f1218 62%);
  color: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.cta-panel.is-visible {
  opacity: 1;
  transform: none;
}

.cta-panel h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  letter-spacing: -0.035em;
  max-width: 18ch;
  line-height: 1.15;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

@media (min-width: 820px) {
  .cta-panel {
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 3rem;
  }
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #eceef2;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.footer-brand .footer-tag {
  margin-top: 0.85rem;
}

.footer-tag {
  color: var(--ink-muted);
  font-size: 0.92rem;
  max-width: 34ch;
  line-height: 1.5;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  list-style: none;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.35rem;
}

.footer-copy {
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.docs-body {
  background: var(--surface);
}

.docs-shell {
  display: grid;
  min-height: 100vh;
  padding-top: 0;
}

@media (min-width: 900px) {
  .docs-shell {
    grid-template-columns: 240px 1fr;
  }
}

.docs-sidebar {
  border-right: 1px solid var(--line);
  padding: 2rem 1.25rem 3rem;
  background: var(--paper);
  position: sticky;
  top: 4.35rem;
  height: calc(100vh - 4.35rem);
  overflow: auto;
  display: none;
}

@media (min-width: 900px) {
  .docs-sidebar {
    display: block;
  }
}

.docs-sidebar h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}

.docs-nav {
  list-style: none;
  display: grid;
  gap: 0.2rem;
}

.docs-nav a {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: 0.55rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.docs-nav a:hover,
.docs-nav a.is-active {
  background: var(--brand-soft);
  color: var(--brand-deep);
}

.docs-main {
  padding: 2.25rem 1.25rem 4rem;
}

@media (min-width: 900px) {
  .docs-main {
    padding: 2.75rem 3rem 5rem;
  }
}

.docs-banner {
  background: var(--brand-soft);
  color: var(--brand-deep);
  border: 1px solid rgba(252, 96, 58, 0.25);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.docs-article {
  max-width: 720px;
}

.docs-article section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 5.5rem;
}

.docs-article h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.045em;
  margin-bottom: 0.75rem;
}

.docs-article h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.docs-article p,
.docs-article li {
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
}

.docs-article ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.docs-article :not(pre) > code,
.inline-code {
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.86em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  padding: 0.1rem 0.35rem;
  color: var(--ink);
}

.docs-code {
  background: #15181f;
  color: #e7e9ee;
  border-radius: 0.9rem;
  padding: 1.1rem 1.15rem;
  overflow-x: auto;
  font-family: "SFMono-Regular", Consolas, Menlo, monospace;
  font-size: 0.84rem;
  line-height: 1.65;
  margin: 1rem 0 1.25rem;
}

.docs-code code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
  border-radius: 0;
  display: block;
  white-space: pre;
}

.docs-code .tok-tag { color: #8ec8ff; }
.docs-code .tok-attr { color: #ff9a7a; }
.docs-code .tok-str { color: #9ad4b1; }
.docs-code .tok-fn { color: #ffd28a; }
.docs-code .tok-key { color: #ff9a7a; }
.docs-code .tok-obj { color: #c3b4ff; }

.endpoint {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.endpoint:first-of-type {
  border-top: 0;
}

.method {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 0.35rem;
  padding: 0.2rem 0.45rem;
  margin-right: 0.45rem;
}

.docs-mobile-nav {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 900px) {
  .docs-mobile-nav {
    display: none;
  }
}

.docs-mobile-nav a {
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-muted);
}

.docs-mobile-nav a.is-active {
  background: var(--brand-soft);
  border-color: transparent;
  color: var(--brand-deep);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

@media (max-width: 1100px) {
  .nav-links {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 4.35rem;
    inset-inline: 1.25rem;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 1rem;
    gap: 0.85rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.is-open a {
    color: var(--ink-muted) !important;
  }

  .nav-links.is-open .btn-ghost {
    background: #fff !important;
    color: var(--ink) !important;
    border-color: var(--line) !important;
  }

  .menu-toggle {
    display: grid;
  }

  .topbar-sep {
    display: none;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 2.5rem;
    min-height: auto;
  }

  .hero-dash-mini,
  .widget {
    transform: none;
    margin: 0;
  }

  .float-dash {
    left: -2%;
    top: -4%;
  }

  .float-key {
    right: -2%;
    bottom: 6%;
  }

  .brand-lockup {
    font-size: clamp(3rem, 14vw, 4.2rem);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes bubbleIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(252, 96, 58, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(252, 96, 58, 0); }
  100% { box-shadow: 0 0 0 0 rgba(252, 96, 58, 0); }
}

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-1.5px); opacity: 1; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 3%) scale(1.05); }
}

@keyframes barPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.72); }
}

@keyframes streamDot {
  0%, 100% { transform: translateX(0); opacity: 0.35; }
  50% { transform: translateX(6px); opacity: 1; }
}
