/* Plugsight public site. Dark, glassy, a little cinematic. Motion lives in site.js and is optional:
   without JavaScript, or with reduced motion, every page is complete and static. */
:root {
  color-scheme: dark;
  --bg: #05060b;
  --bg-2: #0a0b14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --alt: #080912;
  --text: #f4f4f8;
  --text-2: #b9bccb;
  --muted: #8a8ea3;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --violet: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --pink: #f472b6;
  --ok: #34d399;
  --accent: #a78bfa;
  --grad: linear-gradient(100deg, #c4b5fd 0%, #818cf8 30%, #38bdf8 65%, #67e8f9 100%);
  --grad-btn: linear-gradient(135deg, #7c3aed, #4f46e5 45%, #0ea5e9);
  --radius: 18px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --ink: #f4f4f8;
  --on-ink: #05060b;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  position: relative;
}
/* Aurora: slow drifting colour behind every page, plus fine grain. */
body::before {
  content: "";
  position: fixed;
  inset: -20vmax;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40vmax 30vmax at 15% 10%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(35vmax 28vmax at 85% 20%, rgba(14, 165, 233, 0.16), transparent 60%),
    radial-gradient(40vmax 30vmax at 60% 90%, rgba(236, 72, 153, 0.1), transparent 60%);
  animation: aurora 26s ease-in-out infinite alternate;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes aurora {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(4vmax, -3vmax, 0) rotate(8deg);
  }
  100% {
    transform: translate3d(-4vmax, 3vmax, 0) rotate(-6deg);
  }
}

a {
  color: var(--accent);
}
img,
svg {
  max-width: 100%;
}
::selection {
  background: rgba(139, 92, 246, 0.45);
}
h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  font-weight: 700;
}
h1 {
  font-size: clamp(40px, 7vw, 84px);
  letter-spacing: -0.045em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(30px, 4.6vw, 52px);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 19px;
}
h4 {
  font-size: 16px;
}
p {
  margin: 0 0 12px;
}
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 8s linear infinite;
}
@keyframes shine {
  to {
    background-position: 200% center;
  }
}
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.updated {
  color: var(--muted);
  font-size: 13px;
  padding-top: 28px;
  padding-bottom: 28px;
  margin: 0 auto;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-2);
  max-width: 720px;
}
.center .lead,
.center-lead {
  margin-left: auto;
  margin-right: auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d8ccff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.28);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0);
  }
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-btn);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 8px 30px -8px rgba(124, 58, 237, 0.7);
  isolation: isolate;
  overflow: hidden;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s;
  z-index: -1;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
    0 14px 40px -8px rgba(124, 58, 237, 0.9);
}
.btn:hover::after {
  transform: translateX(120%);
}
.btn.lg {
  padding: 15px 26px;
  font-size: 16px;
  border-radius: 14px;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  box-shadow: 0 0 0 1px var(--line-2) inset;
  backdrop-filter: blur(8px);
}
.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
}
.btn.full {
  width: 100%;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 14px;
}
.center-actions {
  justify-content: center;
}
.more {
  font-weight: 600;
  text-decoration: none;
  color: #c4b5fd;
}
.more:hover {
  color: #fff;
}
.link {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
}
.link:hover {
  color: #fff;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.3s,
    border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.top.scrolled {
  background: rgba(5, 6, 11, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand img {
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.35);
}
.nav {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.nav a {
  color: var(--text-2);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  padding: 7px 12px;
  border-radius: 999px;
  transition:
    color 0.2s,
    background 0.2s;
}
.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.menu {
  display: none;
  margin-left: auto;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.menu[open] summary span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu[open] summary span:nth-child(2) {
  opacity: 0;
}
.menu[open] summary span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.menu nav {
  position: absolute;
  right: 0;
  top: 54px;
  width: min(300px, calc(100vw - 32px));
  background: #0e0f1a;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 10px;
  display: grid;
  gap: 2px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  animation: drop 0.25s ease-out;
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}
.menu nav a:not(.btn) {
  color: var(--text);
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 10px;
}
.menu nav a:not(.btn):hover {
  background: rgba(255, 255, 255, 0.06);
}
.menu nav .btn {
  margin-top: 8px;
}
@media (max-width: 960px) {
  .nav,
  .top-actions {
    display: none;
  }
  .menu {
    display: block;
  }
}

/* Sections */
section {
  padding: 96px 0;
  position: relative;
}
section.alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.018) 20%, rgba(255, 255, 255, 0.018) 80%, transparent);
}
.section-title {
  margin-bottom: 32px;
}
.section-title.center,
.center .section-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 820px;
}
.sub-title {
  margin: 48px 0 18px;
  font-size: 24px;
}
.page-head {
  padding: 88px 0 32px;
}
.page-head h1 {
  font-size: clamp(38px, 6vw, 68px);
}
.band {
  padding: 36px 0;
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
}
.pills.left {
  justify-content: flex-start;
  margin-bottom: 16px;
}
.pills span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 14px;
  color: var(--text-2);
  backdrop-filter: blur(6px);
}

/* Reveal on scroll (site.js adds .rv and .in) */
.rv {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  filter: blur(6px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    filter 0.8s var(--d, 0ms);
}
.rv.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Hero */
.hero {
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: center;
}
.hero h1 {
  max-width: 640px;
  font-size: clamp(40px, 5.2vw, 70px);
}
.hero .lead {
  max-width: 560px;
}
/* A heading that's a whole sentence (the home page, ad landing pages). */
.hero h1.long {
  font-size: clamp(34px, 4.4vw, 58px);
}
/* Rotating word: every word sits in the same grid cell, so the slot is always as wide as the widest
   word and nothing around it moves. Each word carries its own gradient: Safari doesn't paint a
   parent's background-clip: text into an animated child. */
.hero h1 .rot {
  display: inline-grid;
  justify-items: start;
  vertical-align: baseline;
  white-space: nowrap;
}
.hero h1 .rot > span {
  grid-area: 1 / 1;
  background: var(--grad);
  background-size: 200% auto;
  animation: shine 8s linear infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-bottom: 0.08em;
  opacity: 0;
  transform: translateY(0.35em);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
.hero h1 .rot > span.on {
  opacity: 1;
  transform: none;
}
.hero h1 .rot > span.leave {
  opacity: 0;
  transform: translateY(-0.35em);
}
.hero .lead {
  font-size: clamp(17px, 1.8vw, 20px);
}
.hero-in > * {
  animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero-in > *:nth-child(2) {
  animation-delay: 0.08s;
}
.hero-in > *:nth-child(3) {
  animation-delay: 0.16s;
}
.hero-in > *:nth-child(4) {
  animation-delay: 0.24s;
}
.hero-in > *:nth-child(5) {
  animation-delay: 0.32s;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(8px);
  }
}
.orbit {
  position: relative;
  height: 560px;
  animation: fadein 1.6s 0.2s both;
}
.orbit canvas {
  position: absolute;
  inset: 0;
}
@keyframes fadein {
  from {
    opacity: 0;
    transform: scale(0.94);
  }
}
.core-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 60;
  text-align: center;
  pointer-events: none;
}
.core-label b {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 0 24px rgba(139, 92, 246, 0.9);
}
.core-label span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c4b5fd;
}
.chip3d {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 14px;
  background: rgba(18, 19, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #e9e9f1;
  will-change: transform;
}
.chip3d i,
.mq-item i,
.cd-tool i,
.logo-tile {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.95);
  font-style: normal;
}
.chip3d svg,
.mq-item svg,
.cd-tool svg {
  width: 17px;
  height: 17px;
}
.chip3d b,
.mq-item b,
.cd-tool b {
  font-size: 16px;
  font-weight: 800;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 14px;
}
.hero-proof span::before {
  content: "✓";
  color: var(--ok);
  margin-right: 6px;
  font-weight: 700;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 48px;
    text-align: center;
  }
  /* Centred like the badge, lead and buttons: the heading's box too (it has a max-width), and the
     rotating word within its slot, which is as wide as the widest word. */
  .hero h1,
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero h1 .rot {
    justify-items: center;
  }
  .hero .actions,
  .hero-proof {
    justify-content: center;
  }
  .orbit {
    height: 420px;
    margin-top: -10px;
  }
}
@media (max-width: 560px) {
  .orbit {
    height: 380px;
  }
  .chip3d {
    padding: 6px;
    border-radius: 12px;
  }
  .chip3d span {
    display: none;
  }
}
.hero h1 .grad {
  -webkit-text-fill-color: transparent;
}

/* Logo marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.mq-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee:hover .mq-track {
  animation-play-state: paused;
}
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

/* Chat demo */
.chat-demo {
  max-width: 880px;
  margin: 0 auto;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(167, 139, 250, 0.55), rgba(255, 255, 255, 0.06) 40%, rgba(56, 189, 248, 0.45));
  box-shadow: 0 40px 120px -30px rgba(124, 58, 237, 0.45);
}
.cd-win {
  border-radius: 21px;
  background: rgba(10, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto;
}
.cd-body,
.cd-ghost {
  grid-row: 2;
  grid-column: 1;
}
.cd-ghost {
  visibility: hidden;
  pointer-events: none;
}
.cd-ghost * {
  animation: none !important;
  transition: none !important;
}
.cd-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.cd-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3f3f46;
}
.cd-bar i:nth-child(1) {
  background: #ff5f57;
}
.cd-bar i:nth-child(2) {
  background: #febc2e;
}
.cd-bar i:nth-child(3) {
  background: #28c840;
}
.cd-bar span {
  margin-left: 10px;
}
.cd-body {
  padding: 26px;
  display: grid;
  gap: 16px;
  align-content: start;
}
.cd-q {
  justify-self: end;
  max-width: 80%;
  background: var(--grad-btn);
  color: #fff;
  padding: 13px 18px;
  border-radius: 18px 18px 4px 18px;
  font-size: 15.5px;
  min-height: 48px;
}
.cd-q:empty::after,
.cd-a:empty::after {
  content: "▍";
  animation: blink 1s steps(1) infinite;
  opacity: 0.7;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.cd-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cd-tool {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-2);
  padding: 5px 12px 5px 5px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.03);
  animation: pop 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3) both;
}
.cd-tool i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}
.cd-tool svg {
  width: 13px;
  height: 13px;
}
.cd-tool em {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #c4b5fd;
  animation: spin 0.7s linear infinite;
}
.cd-tool.ok em {
  border: 0;
  animation: none;
  background: var(--ok);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(6px);
  }
}
.cd-a {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 92%;
}
.cd-a strong {
  color: #fff;
}
.cd-a em {
  color: #c4b5fd;
  font-style: normal;
  font-weight: 600;
}
.cd-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 10px;
  height: 120px;
  padding: 14px 16px 0;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.cd-chart.show {
  opacity: 1;
  transform: none;
}
.cd-chart div {
  position: relative;
  height: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #a78bfa, rgba(99, 102, 241, 0.35));
  transition: height 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cd-chart div.bad {
  background: linear-gradient(180deg, #f472b6, rgba(244, 114, 182, 0.25));
}
.cd-chart.show div {
  height: var(--h);
}
.cd-chart div span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.cd-chart {
  margin-bottom: 22px;
}
@media (max-width: 560px) {
  .cd-body {
    padding: 18px;
  }
  .cd-q {
    max-width: 92%;
  }
  .cd-a {
    max-width: 100%;
  }
}

/* Before / after */
.vs {
  display: grid;
  gap: 22px;
  max-width: 1040px;
  margin: 0 auto 18px;
}
.vs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.vs-q {
  grid-column: 1 / -1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  color: #fff;
}
.vs-a {
  position: relative;
  border-radius: var(--radius);
  padding: 22px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.vs-a p {
  margin: 0;
  color: var(--muted);
}
.vs-a.generic {
  filter: saturate(0.4);
}
.vs-a.plugged {
  background: rgba(124, 58, 237, 0.07);
  border-color: transparent;
  box-shadow: 0 30px 80px -40px rgba(124, 58, 237, 0.8);
}
.vs-a.plugged::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ang, 0deg), #a78bfa, #38bdf8, #f472b6, #a78bfa);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ang 6s linear infinite;
  pointer-events: none;
}
@property --ang {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes ang {
  to {
    --ang: 360deg;
  }
}
.vs-a.plugged p {
  color: var(--text);
}
.vs-a.plugged strong {
  color: #fff;
  background: linear-gradient(transparent 60%, rgba(167, 139, 250, 0.35) 0);
}
.vs-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}
.vs-a.plugged .vs-label {
  color: #c4b5fd;
}
@media (max-width: 760px) {
  .vs-row {
    grid-template-columns: 1fr;
  }
}

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.bento > * {
  grid-column: span 2;
}
.bento > .wide {
  grid-column: span 4;
}
.bento > .half {
  grid-column: span 3;
}
@media (max-width: 900px) {
  .bento > *,
  .bento > .wide,
  .bento > .half {
    grid-column: span 3;
  }
}
@media (max-width: 620px) {
  .bento > *,
  .bento > .wide,
  .bento > .half {
    grid-column: 1 / -1;
  }
}
.bento .card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.bento .card h3 {
  font-size: 21px;
  margin-top: auto;
  padding-top: 18px;
}
.logo-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.logo-tile {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.logo-tile svg {
  width: 22px;
  height: 22px;
}
.logo-tile b {
  font-size: 19px;
  font-weight: 800;
}
.big-ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(56, 189, 248, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.35);
  font-size: 22px;
}

/* Cards & grids */
.grid {
  display: grid;
  gap: 18px;
}
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  margin-bottom: 36px;
}
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(8px);
  overflow: hidden;
}
.card::after,
.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(167, 139, 250, 0.14), transparent 45%);
}
.card:hover::after,
.plan:hover::after {
  opacity: 1;
}
.card p {
  color: var(--text-2);
  margin: 0;
}
.card h3 + p,
.card h4 + p {
  margin-top: 4px;
}
.tilt,
.tilt.rv.in {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.25s ease-out,
    border-color 0.25s,
    opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms),
    filter 0.8s var(--d, 0ms);
}
.tilt.rv:not(.in) {
  transform: translateY(28px) scale(0.985);
}
.tilt:hover {
  border-color: var(--line-2);
}
.link-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.link-card:hover {
  border-color: rgba(167, 139, 250, 0.4);
}
.link-card .more {
  margin-top: auto;
  padding-top: 10px;
}
.link-card .more {
  transition: transform 0.2s;
}
.link-card:hover .more {
  transform: translateX(4px);
}
.small-card {
  padding: 22px;
}
.small-card p {
  font-size: 15px;
}
.integ {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.mark {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #7c3aed, #0ea5e9);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 20px -6px rgba(124, 58, 237, 0.6);
}
.company {
  margin-top: 8px;
}
.quote-list p {
  font-style: italic;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.quote-list p:last-child {
  border-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--text-2);
}
/* One drawn tick, centred in its circle and on the first line of text, whatever the font size. */
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  top: calc((1lh - 20px) / 2);
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='9.5' fill='rgba(52,211,153,0.14)' stroke='rgba(52,211,153,0.35)'/%3E%3Cpath d='M6.2 10.3l2.5 2.5 5.1-5.3' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat > span {
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 860px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* How it works */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  counter-reset: s;
}
.steps li {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}
.steps .num {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--grad-btn);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 8px 24px -6px rgba(124, 58, 237, 0.7);
}
.steps p {
  color: var(--text-2);
  margin: 0;
}

/* Pricing */
.billing-toggle {
  display: inline-flex;
  margin-top: 22px;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(8px);
}
.billing-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.billing-toggle label {
  padding: 9px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-2);
  transition:
    background 0.25s,
    color 0.25s;
}
.billing-toggle input:checked + label {
  background: var(--grad-btn);
  color: #fff;
}
.billing-toggle input:focus-visible + label {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.save {
  color: var(--ok);
  font-weight: 600;
  margin-left: 4px;
}
input:checked + label .save {
  color: inherit;
  opacity: 0.85;
}
.pricing-section {
  padding-top: 32px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin-bottom: 24px;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  backdrop-filter: blur(8px);
}
.plan h2 {
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
}
.plan .muted {
  min-height: 26px;
}
.plan.featured {
  background: rgba(124, 58, 237, 0.08);
  border-color: transparent;
  box-shadow: 0 40px 100px -40px rgba(124, 58, 237, 0.85);
}
.plan.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(from var(--ang, 0deg), #a78bfa, #38bdf8, #f472b6, #a78bfa);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ang 6s linear infinite;
  pointer-events: none;
}
.tag {
  position: absolute;
  top: -13px;
  left: 26px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 20px -4px rgba(124, 58, 237, 0.8);
}
.price {
  margin: 10px 0 14px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price .amount {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.price .per {
  color: var(--muted);
  font-size: 14px;
}
.plan .checks {
  margin-top: 22px;
  font-size: 15px;
}
.price.yearly {
  display: none;
}
body:has(#yearly:checked) .price.yearly {
  display: flex;
}
body:has(#yearly:checked) .price.monthly {
  display: none;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 15px;
}
.compare th,
.compare td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.compare th:first-child,
.compare td:first-child {
  text-align: left;
  color: var(--text-2);
}
.compare thead th {
  font-weight: 700;
  color: #fff;
}
.compare tr:last-child td {
  border-bottom: 0;
}
.compare tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s;
}
.faq[open] summary::after {
  transform: rotate(45deg);
}
.faq p {
  color: var(--text-2);
  margin: -6px 0 20px;
}

/* Call to action */
.cta {
  margin: 40px auto 0;
  max-width: 1180px;
  border-radius: 32px;
  padding: 96px 20px;
  overflow: hidden;
  background:
    radial-gradient(60% 120% at 50% 0%, rgba(124, 58, 237, 0.45), transparent 70%),
    radial-gradient(50% 80% at 80% 100%, rgba(14, 165, 233, 0.3), transparent 70%), #0b0c18;
  border: 1px solid var(--line-2);
}
.cta h2 {
  font-size: clamp(34px, 5vw, 60px);
}
.cta .lead {
  color: var(--text-2);
}
@media (max-width: 1220px) {
  .cta {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* Legal */
.legal {
  max-width: 760px;
  line-height: 1.75;
}
.legal h1 {
  font-size: 40px;
  margin-bottom: 4px;
}
.legal h2 {
  font-size: 21px;
  margin: 34px 0 8px;
  letter-spacing: -0.015em;
}
.legal ul {
  padding-left: 20px;
}
.legal li {
  margin-bottom: 6px;
  color: var(--text-2);
}
.legal p {
  color: var(--text-2);
}

/* Footer */
.bottom {
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
  font-size: 15px;
  background: linear-gradient(180deg, transparent, rgba(124, 58, 237, 0.05));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h3 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-grid a:not(.brand) {
  display: block;
  color: var(--text-2);
  text-decoration: none;
  padding: 4px 0;
  word-break: break-word;
  transition: color 0.2s;
}
.footer-grid a:not(.brand):hover {
  color: #fff;
}
.footer-grid .brand {
  margin-bottom: 12px;
}
.legal-line {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

/* Generated pages: connectors, assistants, guides, comparisons */
.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a {
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover {
  color: #fff;
}
.top-align {
  align-items: start;
}
.chat {
  margin-top: 40px;
  max-width: 760px;
  display: grid;
  gap: 12px;
}
.bubble {
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  font-size: 15px;
}
.bubble.you {
  justify-self: end;
  max-width: 85%;
  background: var(--grad-btn);
  color: #fff;
  border: 0;
  border-bottom-right-radius: 4px;
}
.bubble.ai {
  max-width: 92%;
  background: var(--surface);
  color: var(--text-2);
  border-bottom-left-radius: 4px;
  backdrop-filter: blur(8px);
}
.bubble.ai strong {
  color: #fff;
}
.chat.compact {
  margin-top: 0;
}
.chat.compact .bubble.you,
.chat.wide .bubble.you {
  justify-self: start;
  max-width: 100%;
  border-radius: 16px;
}
.chat.wide {
  max-width: none;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 0;
}
.setup {
  padding-left: 22px;
  display: grid;
  gap: 12px;
  color: var(--text-2);
}
.setup li::marker {
  font-weight: 700;
  color: var(--accent);
}
code.block {
  display: block;
  margin-top: 8px;
  padding: 13px 15px;
  background: #0d0e1a;
  color: #e9e9f1;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  font:
    13px/1.55 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  white-space: pre-wrap;
  word-break: break-all;
}
.plain {
  padding-left: 20px;
  color: var(--text-2);
}
.plain li {
  margin-bottom: 6px;
}
.mt {
  margin-top: 28px;
}
.faq-title {
  margin-top: 48px;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.related a {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.related a:hover {
  border-color: rgba(167, 139, 250, 0.5);
  color: #fff;
}
.center-lead {
  text-align: center;
  max-width: 640px;
  margin: -8px auto 40px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .rv {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Page heads: a 3D grid floor fading into the dark, with a glow. */
.page-head {
  overflow: hidden;
  isolation: isolate;
}
.page-head::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 70%;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(rgba(167, 139, 250, 0.22) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, 0.22) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(500px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, transparent 0%, #000 30%, transparent 90%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 30%, transparent 90%);
  animation: gridmove 6s linear infinite;
}
.page-head::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(900px, 100%);
  height: 100%;
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(124, 58, 237, 0.28), transparent);
}
@keyframes gridmove {
  to {
    background-position: 0 56px;
  }
}
.page-head h1 {
  background: linear-gradient(180deg, #fff 30%, #b9b3d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.head-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .head-grid {
    grid-template-columns: 1fr;
  }
}

/* Source → Plugsight → AI, with light running along the lines. */
.beam {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 28px 10px;
}
.beam-from,
.beam-to {
  display: grid;
  gap: 10px;
}
.beam .logo-tile {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.2);
  animation: bob 4s ease-in-out infinite;
}
.beam .logo-tile:nth-child(2) {
  animation-delay: -1.3s;
}
.beam .logo-tile:nth-child(3) {
  animation-delay: -2.6s;
}
.beam .logo-tile svg {
  width: 30px;
  height: 30px;
}
.beam .logo-tile b {
  font-size: 24px;
}
@keyframes bob {
  50% {
    transform: translateY(-6px);
  }
}
.beam-line {
  position: relative;
  flex: 1;
  max-width: 120px;
  min-width: 40px;
  height: 2px;
  background: linear-gradient(90deg, rgba(167, 139, 250, 0.15), rgba(56, 189, 248, 0.35));
  overflow: hidden;
  border-radius: 2px;
}
.beam-line::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -40%;
  width: 40%;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, #c4b5fd, #67e8f9);
  filter: drop-shadow(0 0 6px #a78bfa);
  animation: run 1.6s cubic-bezier(0.6, 0, 0.4, 1) infinite;
}
.beam-line:last-of-type::after {
  animation-delay: 0.8s;
}
@keyframes run {
  to {
    left: 100%;
  }
}
.beam-hub {
  position: relative;
  width: 92px;
  height: 92px;
  flex: none;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 30%, rgba(167, 139, 250, 0.35), rgba(15, 16, 30, 0.95));
  border: 1px solid rgba(167, 139, 250, 0.45);
  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.beam-hub::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 32px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  animation: ripple 2.4s ease-out infinite;
}
@keyframes ripple {
  from {
    transform: scale(0.9);
    opacity: 1;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}
.beam-hub img {
  border-radius: 12px;
}
@media (max-width: 420px) {
  .beam .logo-tile {
    width: 48px;
    height: 48px;
  }
  .beam-hub {
    width: 76px;
    height: 76px;
  }
}
.integ .logo-tile {
  width: 44px;
  height: 44px;
}
.link-card .logo-row {
  margin-bottom: 6px;
}

.mt-s {
  margin-top: 12px;
}

/* Getting started planner (site.js): pick your AI and tools, get your exact steps. */
.planner {
  padding: 30px;
}
.planner > h2 {
  margin: 0 0 6px;
}
.pl-step {
  margin-top: 26px;
}
.pl-step h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 18px;
}
.pl-step h3 .num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--grad-btn);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 700;
  flex: none;
}
.pl-step > .small {
  margin: -6px 0 12px;
}
.pl-group + .pl-group {
  margin-top: 14px;
}
.pl-group h4 {
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pl-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
}
.pl-chip:hover {
  border-color: var(--accent);
}
.pl-chip.on {
  border-color: var(--accent);
  background: rgba(139, 92, 246, 0.16);
  box-shadow: 0 0 0 1px var(--accent) inset;
}
.pl-chip i {
  width: 26px;
  height: 26px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  font-style: normal;
}
.pl-chip i svg {
  width: 16px;
  height: 16px;
}
.pl-chip i b {
  font-size: 13px;
}
.pl-hint {
  margin: 22px 0 0;
  color: var(--muted);
}
.pl-hint:empty {
  display: none;
}
.pl-result-wrap {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.pl-result-wrap:has(.pl-result[hidden]) {
  display: none;
}
.pl-result-title {
  margin: 0 0 16px;
}
.pl-result.steps {
  grid-template-columns: 1fr;
}
.pl-result h3 {
  margin: 6px 0 6px;
}
.pl-result p {
  margin: 0 0 10px;
}
.pl-result a:not(.btn) {
  color: var(--accent);
}
.pl-tools,
.pl-prompts {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 12px;
}
.pl-tools li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.pl-tools i {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.95);
  font-style: normal;
}
.pl-tools i svg {
  width: 18px;
  height: 18px;
}
.pl-tools div {
  display: grid;
  gap: 3px;
  font-size: 14.5px;
  color: var(--text-2);
}
.pl-tools b {
  color: var(--text);
}
.pl-sub {
  margin: 4px 0 10px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: var(--text-2);
  font-size: 14.5px;
}
.pl-code {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.pl-code code {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
}
.pl-prompts li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 14.5px;
}
.pl-copy {
  flex: none;
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text-2);
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
}
.pl-copy:hover {
  border-color: var(--accent);
  color: var(--text);
}
@media (max-width: 640px) {
  .planner {
    padding: 20px;
  }
  .pl-result.steps > li {
    padding: 18px;
    gap: 12px;
    flex-direction: column;
  }
  .pl-result .pl-prompts li {
    flex-direction: column;
    align-items: flex-start;
  }
}
.pl-result li li {
  display: list-item;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
  gap: 0;
}
.pl-result .pl-tools li,
.pl-result .pl-prompts li {
  display: flex;
}
.pl-result .pl-prompts li {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  gap: 12px;
}
.pl-result .pl-tools li {
  gap: 12px;
}
.pl-result .pl-sub li + li {
  margin-top: 2px;
}
.pl-result-title {
  font-size: 26px;
}

/* Guide pop-up (site.js openGuide): centred on wide screens, a sheet from the bottom on phones. */
.guide-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}
.guide-dialog[open] {
  display: flex;
  flex-direction: column;
}
.guide-dialog::backdrop {
  background: rgba(5, 6, 11, 0.7);
  backdrop-filter: blur(4px);
}
.gd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.gd-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}
.gd-close {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.gd-body {
  padding: 20px 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  color: var(--text-2);
}
.gd-body .two-col {
  grid-template-columns: 1fr;
  gap: 18px;
}
.gd-body h2 {
  font-size: 19px;
  margin: 0 0 10px;
}
.gd-body h3 {
  font-size: 16px;
  margin: 18px 0 8px;
}
.gd-body a {
  color: var(--accent);
}
.gd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-top: 1px solid var(--line);
}
html.gd-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .guide-dialog {
    width: 100vw;
    max-width: 100vw;
    max-height: 88vh;
    margin: auto 0 0;
    border-radius: 18px 18px 0 0;
    border-bottom: 0;
  }
  .gd-head,
  .gd-body,
  .gd-foot {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* Everything clickable shows the pointer (finger); disabled controls show "not allowed". */
html
  :is(
    a[href],
    button,
    summary,
    select,
    [role="button"],
    [role="tab"],
    input[type="checkbox"],
    input[type="radio"],
    input[type="submit"],
    label:has(> input[type="checkbox"], > input[type="radio"])
  ) {
  cursor: pointer;
}
html :is(button, select, input):disabled,
html [aria-disabled="true"] {
  cursor: not-allowed;
}

/* Jump links (#plan, #setup…) stop below the sticky header instead of under it. */
[id] {
  scroll-margin-top: 84px;
}

/* Phones: bigger tap areas. A card with a heading link is clickable as a whole. */
.integ {
  position: relative;
}
.integ h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
@media (max-width: 860px) {
  a.more,
  .brand {
    display: inline-block;
    padding-block: 8px;
  }
}

/* Code examples (Developer API): a box that scrolls sideways on its own, never the page. */
pre {
  max-width: 100%;
  overflow-x: auto;
  margin: 10px 0 14px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}
pre code {
  background: none;
  padding: 0;
  border: 0;
  white-space: pre;
}
.setup li {
  min-width: 0;
}
td code {
  word-break: break-word;
}

/* API docs (pages/developers.html): a menu beside the content on wide screens, a collapsible one on phones. */
.docs {
  display: grid;
  gap: 32px;
  padding-block: 24px 72px;
}
.docs-body {
  min-width: 0;
}
.docs-body > section {
  padding: 0 0 44px;
  scroll-margin-top: 84px;
}
.docs-body h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin: 0 0 14px;
}
.docs-body h3 {
  font-size: 18px;
  margin: 22px 0 6px;
}
.docs-body p,
.docs-body dd {
  color: var(--text-2);
}
.docs-nav details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 6px 14px;
}
.docs-nav summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px 0;
}
.docs-nav ul {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.docs-nav li a {
  display: block;
  padding: 6px 0;
  color: var(--text-2);
  text-decoration: none;
  font-size: 14px;
}
.docs-nav li a:hover,
.docs-nav li a[aria-current="true"] {
  color: var(--text);
}
.docs-nav-h {
  margin: 10px 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
@media (min-width: 960px) {
  .docs {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 48px;
  }
  .docs-nav {
    position: sticky;
    top: 84px;
    align-self: start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
  .docs-nav details {
    border: 0;
    background: none;
    padding: 0;
  }
  .docs-nav summary {
    display: none;
  }
}
.flow {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 12px;
  counter-reset: flow;
}
.flow li {
  counter-increment: flow;
  position: relative;
  padding: 14px 16px 14px 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.flow li::before {
  content: counter(flow);
  position: absolute;
  left: 16px;
  top: 14px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(167, 139, 250, 0.16);
  color: var(--accent);
}
.flow li b {
  display: block;
}
.flow li span {
  color: var(--text-2);
  font-size: 15px;
}
@media (min-width: 760px) {
  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.terms {
  margin: 0;
  display: grid;
  gap: 4px;
}
.terms dt {
  font-weight: 700;
  margin-top: 14px;
}
.terms dd {
  margin: 0;
}
.badge {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  vertical-align: middle;
}
.badge.read {
  background: rgba(52, 211, 153, 0.14);
  color: var(--ok);
}
.badge.change {
  background: rgba(244, 114, 182, 0.14);
  color: var(--pink);
}
.req {
  font-size: 11px;
  font-weight: 600;
  color: var(--pink);
}
.endpoint {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 4px 16px;
  margin-bottom: 12px;
}
.method {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  font-family: "JetBrains Mono", monospace;
}
.method.get {
  background: rgba(59, 130, 246, 0.18);
  color: #93c5fd;
}
.method.post {
  background: rgba(52, 211, 153, 0.16);
  color: var(--ok);
}
.ref-group {
  margin-top: 28px;
  scroll-margin-top: 84px;
}
.ref-group h3 {
  margin-bottom: 2px;
}
.tool {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  margin-top: 8px;
  scroll-margin-top: 84px;
}
.tool summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  padding: 12px 14px;
}
.tool summary::-webkit-details-marker {
  display: none;
}
.tool summary code {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.tool-title {
  color: var(--muted);
  font-size: 14px;
  flex: 1 1 100%;
}
@media (min-width: 600px) {
  .tool-title {
    flex: 1;
    text-align: right;
  }
}
.tool-body {
  padding: 0 14px 14px;
  border-top: 1px solid var(--line);
}
.tool-body > p:first-child {
  margin-top: 12px;
}
table.params td:first-child {
  white-space: nowrap;
}
table.params td {
  vertical-align: top;
  font-size: 14px;
}
.docs .table-wrap th {
  text-align: left;
}
/* Docs tables: room around each cell, and names like tool_error never split mid-word. */
.docs .table-wrap table:not(.params) :is(th, td) {
  padding: 10px 14px;
  vertical-align: top;
}
.docs .table-wrap td code {
  word-break: normal;
  overflow-wrap: break-word;
}
.docs .table-wrap td:has(> code:only-child) {
  white-space: nowrap;
}
.docs pre {
  position: relative;
  padding-top: 40px;
}
.copy-code {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 9px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--alt);
  color: var(--text-2);
  cursor: pointer;
}
.copy-code:hover {
  color: var(--text);
}
/* Argument tables stack on phones, so nothing scrolls sideways. */
@media (max-width: 599px) {
  table.params thead {
    display: none;
  }
  table.params,
  table.params tbody,
  table.params tr,
  table.params td {
    display: block;
    width: 100%;
  }
  table.params tr {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
  }
  table.params td {
    padding: 2px 0;
    border: 0;
  }
  table.params td:nth-child(2) {
    color: var(--muted);
    font-size: 13px;
  }
}
/* Which plan includes a connector: connector pages and the Integrations page. */
.plan-pill {
  display: inline-block;
  margin-left: 8px;
  padding: 1px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  vertical-align: middle;
  white-space: nowrap;
}
.plan-pill.free {
  color: var(--ok);
  background: rgba(52, 211, 153, 0.14);
}
.plan-pill.pro {
  color: #fff;
  background: var(--grad-btn);
  box-shadow:
    0 0 0 1px rgba(167, 139, 250, 0.45),
    0 2px 12px -2px rgba(124, 58, 237, 0.6);
}
.plan-pill.pro::before {
  content: "✦";
  margin-right: 4px;
  font-size: 0.85em;
}
.section-title .plan-pill {
  font-size: 13px;
  padding: 3px 12px;
  letter-spacing: 0.02em;
}
/* Home: every account, not just one. */
.accounts-grid .card h3 {
  margin-top: 14px;
}
.accounts-points {
  max-width: 820px;
  margin: 28px auto 0;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
}
.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.compare-table tbody tr {
  border-top: 1px solid var(--line);
}
.compare-table td:first-child {
  color: var(--text-2);
}

/* Cookie choice: a small card at the bottom, above everything, never covering the whole page. */
.consent {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 20px;
  display: grid;
  gap: 14px;
  border-radius: 16px;
  background: rgba(12, 13, 24, 0.94);
  border: 1px solid rgba(167, 139, 250, 0.32);
  box-shadow:
    0 24px 60px -12px rgba(0, 0, 0, 0.7),
    0 0 0 4px rgba(124, 58, 237, 0.08);
  backdrop-filter: blur(14px);
  color: var(--text-2, #c9c9d6);
  font-size: 14px;
  line-height: 1.55;
  animation: consent-in 0.35s ease-out;
}
.consent[hidden] {
  display: none;
}
.consent p {
  margin: 0;
}
.consent b {
  color: var(--text);
}
.consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consent-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.consent-actions .btn {
  padding: 9px 18px;
  font-size: 14px;
}
@media (max-width: 480px) {
  .consent-actions .btn {
    flex: 1;
  }
}
@keyframes consent-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .consent {
    animation: none;
  }
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-grid .link-btn {
  display: block;
  color: var(--text-2);
  padding: 4px 0;
  font-size: inherit;
  transition: color 0.2s;
}
.footer-grid .link-btn:hover {
  color: #fff;
}

/* Ask AI: a launcher at the bottom right and a chat panel (a sheet on phones). Added by ask.js. */
.ask-launcher {
  position: fixed;
  z-index: 55;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--grad-btn);
  color: #fff;
  font: 600 15px/1 var(--font);
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14) inset,
    0 12px 34px -8px rgba(124, 58, 237, 0.85);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.ask-launcher:hover {
  transform: translateY(-2px);
}
.ask-launcher:focus-visible,
.ask-panel button:focus-visible,
.ask-panel input:focus-visible,
.ask-panel a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
.ask-launcher[hidden],
.consent-open .ask-launcher {
  display: none;
}
.ask-panel {
  position: fixed;
  z-index: 70;
  right: 20px;
  bottom: 20px;
  width: min(420px, calc(100vw - 40px));
  height: min(640px, calc(100vh - 40px));
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: rgba(12, 13, 24, 0.97);
  border: 1px solid rgba(167, 139, 250, 0.32);
  box-shadow:
    0 30px 80px -16px rgba(0, 0, 0, 0.8),
    0 0 0 4px rgba(124, 58, 237, 0.08);
  backdrop-filter: blur(16px);
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.6;
  overflow: hidden;
  animation: ask-in 0.25s ease-out;
}
.ask-panel[hidden] {
  display: none;
}
@keyframes ask-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}
.ask-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.ask-head b {
  color: var(--text);
}
.ask-grow {
  flex: 1;
}
.ask-page {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-width: 0;
  max-width: 180px;
  padding: 2px 3px 2px 9px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.16);
  color: var(--text);
  font-size: 12px;
}
.ask-page[hidden] {
  display: none;
}
.ask-page-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ask-page-clear,
.ask-close {
  flex: none;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
}
.ask-page-clear {
  font-size: 11px;
  padding: 3px 5px;
}
.ask-close {
  font-size: 15px;
  padding: 4px 8px;
}
.ask-page-clear:hover,
.ask-close:hover {
  color: var(--text);
  background: var(--surface-2);
}
.ask-new {
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--surface);
  color: var(--text);
  font: 500 13px var(--font);
  cursor: pointer;
}
.ask-new:hover {
  border-color: var(--accent);
}
.ask-new[hidden] {
  display: none;
}
.ask-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  overscroll-behavior: contain;
}
.ask-intro {
  color: var(--text-2);
  margin-bottom: 14px;
}
.ask-suggest {
  display: block;
  width: 100%;
  text-align: left;
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.ask-suggest:hover {
  border-color: rgba(167, 139, 250, 0.5);
  background: var(--surface-2);
}
.ask-q {
  margin: 14px 0 10px auto;
  max-width: 85%;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 14px 14px 4px 14px;
  background: rgba(124, 58, 237, 0.28);
  color: var(--text);
}
.ask-a {
  margin-bottom: 14px;
}
.ask-prose p,
.ask-prose li {
  color: var(--text-2);
}
.ask-prose strong {
  color: var(--text);
}
.ask-prose ul,
.ask-prose ol {
  margin: 0 0 12px;
  padding-left: 20px;
}
.ask-prose code {
  font-size: 13px;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text);
}
.ask-dots {
  color: var(--muted);
  display: inline-flex;
  gap: 5px;
  padding: 6px 0;
}
.ask-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  animation: ask-dot 1.2s ease-in-out infinite;
}
.ask-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.ask-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes ask-dot {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  30% {
    transform: translateY(-4px);
    opacity: 0.9;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ask-dots i {
    animation: none;
    opacity: 0.6;
  }
}
.ask-error {
  color: #fca5a5;
}
.ask-sources {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
}
.ask-sources-title {
  display: block;
  color: var(--muted);
  margin-bottom: 4px;
}
.ask-sources a {
  display: block;
  padding: 2px 0;
  text-decoration: none;
}
.ask-sources a:hover {
  text-decoration: underline;
}
.ask-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 6px;
}
.ask-account {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 0;
}
.ask-link {
  border: 0;
  padding: 0;
  background: none;
  color: var(--text);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.ask-form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}
.ask-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.ask-form input::placeholder {
  color: var(--muted);
}
.ask-form .btn {
  padding: 10px 16px;
}
.ask-form .btn:disabled {
  opacity: 0.55;
  cursor: default;
  transform: none;
}
@media (max-width: 560px) {
  .ask-launcher {
    right: 14px;
    bottom: 14px;
  }
  .ask-panel {
    inset: auto 0 0 0;
    width: 100%;
    height: min(88vh, 100%);
    border-radius: 18px 18px 0 0;
  }
  .ask-page {
    max-width: 38vw;
  }
  .ask-open body {
    overflow: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ask-panel {
    animation: none;
  }
  .ask-launcher {
    transition: none;
  }
}

/* Ask AI: a signed-in reader chooses whether answers may use their Plugsight account. */
.ask-consent {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card, rgba(127, 127, 127, 0.08));
  font-size: 14px;
}
.ask-consent p {
  margin: 0 0 10px;
}
.ask-consent > div {
  display: flex;
  align-items: center;
  gap: 14px;
}
.ask-consent-yes {
  border: 0;
  border-radius: 999px;
  padding: 6px 14px;
  background: var(--text, #fff);
  color: var(--bg, #05060b);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* 👍/👎 on an Ask AI answer (rateAnswer in ask.js). */
.rate {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.rate button {
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 8px;
  padding: 2px 10px;
  cursor: pointer;
  font: inherit;
}
.rate button:disabled {
  opacity: 0.5;
  cursor: default;
}
.rate .ask-link {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: underline;
}
.rate-note {
  flex-direction: column;
  align-items: stretch;
}
.rate-note textarea {
  font: inherit;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  resize: vertical;
}
.rate-note div {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Text for screen readers only, such as the label of a table's otherwise empty first header cell. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
