:root {
  --bg: #faf8f4;
  --card: #ffffff;
  --text: #0b0b0b;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #111827;
  --primary-hover: #1f2937;
  --primary-soft: rgba(17, 24, 39, 0.07);
  --li-blue: #0a66c2;
  --li-blue-soft: rgba(10, 102, 194, 0.08);
  --shadow-sm: 0 1px 2px rgba(24, 24, 27, 0.05);
  --shadow-md: 0 8px 24px rgba(24, 24, 27, 0.06);
  --shadow-lg: 0 20px 45px rgba(24, 24, 27, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
}

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

body {
  font-family: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

.nav,
.content,
.footer {
  width: calc(100% - 48px);
  max-width: 1080px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: #111827;
  color: #ffffff;
  padding: 9px 18px;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #1f2937;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 13px 26px;
  font-size: 16px;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  padding: 9px 16px;
}

.btn-ghost:hover {
  background: var(--card);
  border-color: #d6d3cb;
}

/* ---------- Nav ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  position: sticky;
  top: 0;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.nav::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: var(--border);
  transform: translateX(-50%);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.logo img {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.logo-word {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-word-sub {
  font-weight: 500;
  color: var(--muted);
  font-size: 13px;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--text);
}

/* "Log in" + "Try Sniff": stays visible on mobile, where .nav-links is hidden. */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

/* ---------- Section shell ---------- */

.section {
  padding: 64px 0;
}

.section:first-of-type {
  padding-top: 84px;
}

.section-inner {
  width: 100%;
  text-align: left;
}

.section-tight {
  padding: 44px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 5px 11px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-subhead {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 58ch;
}

.section-header {
  margin-bottom: 34px;
}

.section-header--center {
  text-align: center;
  justify-items: center;
}

.section-header--center .section-subhead {
  margin: 0 auto;
}

/* ---------- Hero ---------- */

.hero {
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
  padding-bottom: 8px;
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 62px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 17ch;
}

.hero-title .accent {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 46ch;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Hero network visual ---------- */

.hero-visual {
  width: 100%;
  max-width: 620px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: 18px;
}

.hero-chain {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-node {
  display: grid;
  justify-items: center;
  gap: 6px;
}

.hero-node-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  border: 3px solid var(--card);
  box-shadow: 0 0 0 1px var(--border);
}

.hero-node-label {
  font-size: 11px;
  color: var(--muted);
  font-weight: 600;
}

.hero-chain-arrow {
  color: #c7c4ba;
  font-size: 16px;
  margin-bottom: 20px;
}

.hero-visual-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.hero-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border);
  background: #fbfbf8;
  border-radius: 999px;
  padding: 6px 12px 6px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.hero-stat-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--li-blue);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
}

.trust-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-marquee {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.trust-track {
  display: flex;
  width: max-content;
  animation: trust-marquee 28s linear infinite;
}

/* Two identical groups. Every logo gets the same fixed slot, so each group is always
   8 × (96 + 28) = 992px wide (wider than the 540px strip) no matter how the images load,
   and sliding the track by exactly one group (-50%) loops with no gap. */
.trust-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
}

.trust-track img {
  flex: none;
  width: 96px;
  height: 24px;
  object-fit: contain;
  opacity: 0.55;
  filter: grayscale(1);
}

@keyframes trust-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- Tabs ---------- */

.tabs {
  display: grid;
  gap: 22px;
}

.tab-list {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  background: #f3f2ec;
  border-radius: var(--radius-sm);
  padding: 4px;
  width: fit-content;
}

.tab-btn {
  border: none;
  background: transparent;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.tab-btn.is-active {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
  animation: fade-in 0.25s ease;
}

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

.tab-query {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
}

.tab-query strong {
  color: var(--text);
  font-weight: 600;
}

/* ---------- Result panel ---------- */

.result-panel {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-md);
}

.result-query {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.result-query-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.result-query-text {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 600;
}

.result-count {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 3px 9px;
  white-space: nowrap;
}

.result-list {
  display: grid;
  gap: 8px;
}

.result-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 11px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.15s ease, border-color 0.15s ease;
}

.result-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.result-row:hover {
  background: #fbfbf8;
  border-color: var(--border);
}

.result-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.result-meta {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.result-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

.result-degree {
  font-size: 10px;
  font-weight: 700;
  color: var(--li-blue);
  background: var(--li-blue-soft);
  border-radius: 999px;
  padding: 2px 7px;
}

.result-role {
  font-size: 12px;
  color: var(--muted);
}

.result-reason {
  font-size: 11px;
  color: #9c9a92;
}

.result-score {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.result-score-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.result-score-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9c9a92;
}

@media (max-width: 900px) {
  .result-row {
    grid-template-columns: auto 1fr;
  }

  .result-score {
    grid-column: 2;
    justify-items: start;
  }
}

/* ---------- Two column layout ---------- */

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: start;
}

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

/* ---------- Signal grid ---------- */

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.signal-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 16px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.signal-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--li-blue-soft);
  color: var(--li-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.signal-icon svg {
  width: 15px;
  height: 15px;
}

.signal-title {
  font-size: 13.5px;
  font-weight: 700;
}

.signal-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 900px) {
  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Testimonial (pull-quote) ---------- */

.quote-block {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.quote-mark {
  font-size: 34px;
  color: var(--primary);
  line-height: 1;
}

.quote-text {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.45;
  max-width: 34ch;
}

.quote-attribution {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Use case grid ---------- */

.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.usecase-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 18px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.usecase-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.usecase-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.usecase-icon svg {
  width: 16px;
  height: 16px;
}

.usecase-title {
  font-size: 14px;
  font-weight: 700;
}

.usecase-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 900px) {
  .usecase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Prompt cards ---------- */

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prompt-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.prompt-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #d6d3cb;
}

.prompt-quote {
  font-size: 14px;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
  font-weight: 700;
}

.prompt-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 900px) {
  .prompt-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 8px;
  max-width: 720px;
}

.faq-item {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 4px 18px;
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  padding-bottom: 16px;
  padding-right: 24px;
}

/* ---------- CTA banner ---------- */

.cta-banner {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--primary-soft), #ffffff 60%);
  padding: 52px 36px;
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
}

.cta-banner-title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.cta-banner-text {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 44ch;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--border);
  padding: 44px 0 40px;
  display: grid;
  gap: 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.footer-brand-text strong {
  font-size: 13px;
  display: block;
}

.footer-brand-text p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-col {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-col a {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  opacity: 0.8;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a {
  color: var(--muted);
  display: inline-flex;
}

.footer-social svg {
  width: 16px;
  height: 16px;
}

.footer-social a:hover {
  color: var(--text);
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Responsive shell ---------- */

@media (max-width: 900px) {
  .nav,
  .content,
  .footer {
    width: calc(100% - 32px);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--text);
}

/* ---------- Blog index ---------- */

.blog-hero {
  display: grid;
  gap: 12px;
  max-width: 60ch;
  margin-bottom: 8px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.blog-card {
  display: grid;
  gap: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #d6d3cb;
}

.blog-card-tag {
  width: fit-content;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--li-blue);
  background: var(--li-blue-soft);
  border-radius: 999px;
  padding: 4px 10px;
}

.blog-card-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.blog-card-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.blog-card-meta {
  font-size: 11.5px;
  color: #9c9a92;
  margin-top: 2px;
}

/* Hand-drawn sketch at the top of each card (assets/sketches, made by tools/make-sketches.mjs) */
.blog-card-art {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Article ---------- */

.article {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.article-header {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}

.article-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.article-meta .dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #c7c4ba;
}

.article-lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  font-weight: 500;
  padding: 16px 18px;
  background: #f3f2ec;
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 8px 0 6px;
}

.article-figure {
  margin: 18px 0 10px;
}

.article-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 630;
  border-radius: var(--radius-lg);
}

.article-body {
  display: grid;
  gap: 16px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #303035;
  margin-top: 6px;
}

.article-body h2 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-top: 12px;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-top: 4px;
}

.article-body ul,
.article-body ol {
  padding-left: 22px;
  display: grid;
  gap: 8px;
}

.article-body li {
  line-height: 1.65;
}

.article-body strong {
  color: var(--text);
}

.article-body a {
  color: var(--li-blue);
  text-decoration: underline;
  text-decoration-color: var(--li-blue-soft);
  text-underline-offset: 2px;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 8px 0;
}

.article-cta {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--primary-soft), #ffffff 60%);
  border-radius: var(--radius-md);
  padding: 20px;
  display: grid;
  gap: 10px;
  text-align: center;
  justify-items: center;
  margin: 8px 0;
}

.article-cta p {
  font-size: 13.5px;
  color: var(--muted);
  max-width: 40ch;
}

.article-faq {
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.related-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 14px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.related-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 14px;
  text-decoration: none;
  color: inherit;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Pricing ---------- */

.pricing-hero {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-bottom: 28px;
}

.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--border);
  background: #f3f2ec;
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-top: 4px;
}

.pricing-toggle-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.pricing-toggle-btn.is-active {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.pricing-save-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 2px 7px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.pricing-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

.pricing-card--highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft), var(--shadow-md);
  position: relative;
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
}

.pricing-plan-name {
  font-size: 15px;
  font-weight: 700;
}

.pricing-plan-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: -8px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.price-value {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
}

.price-billed-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: -12px;
}

.plan-features {
  display: grid;
  gap: 10px;
  list-style: none;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.5px;
  color: #303035;
  line-height: 1.5;
}

.plan-features svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 24px;
}

@media (max-width: 900px) {
  .pricing-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Video hero (animated explainer) ---------- */

.video-hero {
  width: 100%;
  max-width: 640px;
  border: 1px solid #26262b;
  background: #0b0b0d;
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
}

.video-hero-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 0%, #1f2530 0%, #111318 60%, #0b0b0d 100%);
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
}

.video-step {
  display: none;
  width: 100%;
  text-align: center;
  display: none;
}

.video-step.is-active {
  display: grid;
  gap: 14px;
  justify-items: center;
  animation: fade-in 0.4s ease;
}

.video-step-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #6b7280;
}

.video-step-desc {
  font-size: 13px;
  color: #9ca3af;
  max-width: 34ch;
  line-height: 1.5;
}

.video-mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #191b20;
  border: 1px solid #2a2c33;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  color: #e5e7eb;
  min-width: 280px;
  justify-content: flex-start;
}

.video-mock-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  flex-shrink: 0;
}

.video-caret {
  display: inline-block;
  width: 2px;
  height: 13px;
  background: var(--primary);
  margin-left: 1px;
  animation: caret-blink 0.9s steps(1) infinite;
  vertical-align: middle;
}

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

.video-mock-scan {
  position: relative;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-scan-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 3px solid #2a2c33;
  border-top-color: var(--primary);
  animation: scan-spin 1.1s linear infinite;
}

@keyframes scan-spin {
  to {
    transform: rotate(360deg);
  }
}

.video-scan-count {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.video-mock-results {
  display: grid;
  gap: 8px;
  width: 100%;
  max-width: 320px;
}

.video-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #191b20;
  border: 1px solid #2a2c33;
  border-radius: 10px;
  padding: 8px 12px;
}

.video-mock-avatar {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.video-mock-name {
  font-size: 12.5px;
  color: #e5e7eb;
  font-weight: 600;
  flex: 1;
  text-align: left;
}

.video-mock-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

.video-mock-sent {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 600;
}

.video-mock-sent svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 6px 4px;
}

.video-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.video-play-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.video-play-btn svg {
  width: 13px;
  height: 13px;
}

.video-progress {
  display: flex;
  gap: 5px;
  flex: 1;
}

.video-progress-bar {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.video-progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--primary);
}

.video-caption {
  font-size: 11px;
  color: #6b7280;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .video-hero-frame {
    min-height: 220px;
    padding: 22px 16px;
  }

  .video-mock-search {
    min-width: 0;
  }
}

/* ---------- Team compound visual ---------- */

.team-compound-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
  text-align: center;
}

.team-stack {
  display: flex;
  align-items: center;
}

.team-stack .hero-node-avatar {
  margin-left: -12px;
  border: 3px solid var(--card);
  box-shadow: none;
}

.team-stack .hero-node-avatar:first-child {
  margin-left: 0;
}

.team-stack-more {
  background: #f3f2ec;
  color: var(--muted);
  font-size: 12px;
}

.team-compound-arrow {
  color: #c7c4ba;
  font-size: 20px;
}

.team-compound-stat {
  display: grid;
  gap: 4px;
  justify-items: center;
  max-width: 30ch;
}

@media (max-width: 900px) {
  .team-compound-card {
    flex-direction: column;
    gap: 12px;
  }

  .team-compound-arrow {
    transform: rotate(90deg);
  }
}

/* ---------- Nav: Use cases dropdown ---------- */

.nav-dd {
  position: relative;
}

.nav-dd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.nav-dd-trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-dd:hover .nav-dd-trigger,
.nav-dd:focus-within .nav-dd-trigger {
  color: var(--text);
}

.nav-dd:hover .nav-dd-trigger svg,
.nav-dd:focus-within .nav-dd-trigger svg {
  transform: rotate(180deg);
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 540px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 30;
}

/* Invisible bridge so the menu stays open while the pointer crosses the gap. */
.nav-dd-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}

.nav-dd:hover .nav-dd-menu,
.nav-dd:focus-within .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%);
}

.nav-dd-item {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-dd-item:hover,
.nav-dd-item:focus-visible {
  background: #f6f4ef;
  outline: none;
}

.nav-dd-item b {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
}

.nav-dd-item span {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}

.nav-dd-all {
  grid-column: 1 / -1;
  margin-top: 4px;
  padding: 10px 12px 4px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--li-blue);
  text-decoration: none;
}

.nav-dd-all:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .nav-dd-menu,
  .nav-dd-trigger svg {
    transition: none;
  }
}

/* ---------- Pricing: three plans ---------- */

.pr-hero {
  padding-top: 64px;
}

.pr-hero .pricing-toggle {
  margin-top: 10px;
}

.pr-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  max-width: 760px;
  margin: 0 auto;
}

.pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 26px 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.pr-card--pro {
  border: 1.5px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-soft), var(--shadow-lg);
}

.pr-card--team {
  background: #f6f4ef;
}

.pr-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pr-top {
  display: grid;
  gap: 4px;
}

.pr-name {
  font-size: 18px;
  font-weight: 700;
}

.pr-desc {
  font-size: 14px;
  color: var(--muted);
}

.pr-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-height: 52px;
  margin-top: 6px;
}

.pr-value {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.pr-value--talk {
  font-size: 34px;
}

.pr-period {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.pr-note {
  margin-top: -8px;
  font-size: 12.5px;
  color: var(--muted);
}

.pr-feats {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 6px 0 4px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.pr-feats li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  line-height: 1.45;
  color: #303035;
}

.pr-feats svg {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--primary);
}

/* Pro card doodles, the same as the app's Pro card (components/pro/ProSketches.jsx): lines draw themselves in
   (.d, with pathLength="1"), dots pop (.pop), the bell rings, the arrow rises; hovering a feature redraws it. */
.pd { overflow: visible; color: var(--primary); }
.pd g, .pd > path { stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pd g, .pd > path:not([fill]) { fill: none; }
.pd .d { stroke-dasharray: 1; stroke-dashoffset: 1; animation: pdDraw 0.8s cubic-bezier(0.65, 0, 0.35, 1) var(--d, 0s) forwards; }
.pd .pop { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pdPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) var(--d, 0s) forwards; }
.pd .pd-wiggle { transform-box: fill-box; transform-origin: 50% 0; animation: pdWiggle 1.6s ease-in-out var(--d, 0s) infinite; }
.pd .d.pd-rise { animation: pdDraw 0.6s ease var(--d, 0s) forwards, pdRise 1.8s ease-in-out calc(var(--d, 0s) + 0.7s) infinite; }
@keyframes pdDraw { to { stroke-dashoffset: 0; } }
@keyframes pdDraw2 { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pdPop { to { transform: scale(1); } }
@keyframes pdPop2 { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes pdWiggle { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-12deg); } 30% { transform: rotate(8deg); } 40% { transform: rotate(-5deg); } }
@keyframes pdRise { 50% { transform: translateY(-3px); opacity: 0.6; } }

.pr-name--pro { display: inline-flex; align-items: center; gap: 6px; }
.pd-crown { width: 26px; height: 20px; color: #78350f; }
.pd-crown path { stroke-width: 1.8; }
.pr-badge { display: inline-flex; align-items: center; gap: 4px; }
.pd-sparks { width: 14px; height: 14px; margin-top: -10px; color: #fff; }

/* A yellow marker scribble under the price (redrawn when the billing period changes) */
.pd-price { position: relative; display: inline-block; }
.pd-price .pr-value { position: relative; }
.pd-underline { position: absolute; left: -4px; bottom: -6px; width: calc(100% + 10px); height: 14px; color: #fde68a; }
.pd-underline path { stroke-width: 7; }
.pd-underline.pd-redraw .d { animation: pdDraw2 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.pr-card--pro .pr-price { flex-wrap: wrap; row-gap: 2px; }
.pr-card--pro .pr-period { white-space: nowrap; }
.pd-free { flex-basis: 100%; margin: 8px 0 -4px; white-space: nowrap; font-family: var(--hand); font-size: 22px; line-height: 1; color: #047857; transform: rotate(-3deg); transform-origin: left; animation: pdPopNote 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pd-free[hidden] { display: none; }
@keyframes pdPopNote { from { opacity: 0; transform: translateY(6px) rotate(-4deg) scale(0.85); } }

/* Feature rows with a doodle in a little paper square; hovering one lifts it and redraws the doodle */
.pr-feats--doodles li { grid-template-columns: 30px 1fr; align-items: center; transition: transform 0.2s ease; }
.pr-feats--doodles li > svg { justify-self: center; }
.pd-ic { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #f6f4ef; border: 1px solid var(--border); }
.pd-ic .pd { width: 22px; height: 22px; color: var(--primary); }
.pr-feats--doodles li:hover { transform: translateX(3px); }
.pr-feats--doodles li:hover .pd .d { animation: pdDraw2 0.6s cubic-bezier(0.65, 0, 0.35, 1) both; }
.pr-feats--doodles li:hover .pd .pop { animation: pdPop2 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

@media (prefers-reduced-motion: reduce) {
  .pd .d { animation: none; stroke-dashoffset: 0; }
  .pd .pop { animation: none; transform: none; }
  .pd .pd-wiggle, .pd .d.pd-rise, .pd-free { animation: none; }
  .pr-feats--doodles li:hover { transform: none; }
  .pr-feats--doodles li:hover .pd .d, .pr-feats--doodles li:hover .pd .pop { animation: none; }
}

/* Buttons line up at the bottom of every card. */
.pr-btn {
  margin-top: auto;
  width: 100%;
  padding: 12px 18px;
}

@media (max-width: 900px) {
  .pr-cards {
    grid-template-columns: 1fr;
    max-width: 440px;
  }
}

/* Waitlist + invite code dialog (waitlist.js) */
.wl {
  position: fixed;
  inset: 0;
  margin: auto;
  height: fit-content;
  max-height: calc(100vh - 32px);
  overflow: auto;
  box-sizing: border-box;
  width: min(400px, calc(100vw - 32px));
  padding: 28px 26px 22px;
  border: 0;
  border-radius: 24px;
  background: var(--card);
  color: var(--text);
  box-shadow: 0 30px 80px -20px rgba(17, 24, 39, 0.35);
  text-align: center;
}
.wl::backdrop { background: rgba(17, 24, 39, 0.45); backdrop-filter: blur(3px); }
.wl[open] { animation: wl-in 0.22s ease-out; }
@keyframes wl-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.wl-close {
  position: absolute; top: 12px; right: 14px; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: transparent; color: var(--muted);
  font-size: 24px; line-height: 1; cursor: pointer;
}
.wl-close:hover { background: var(--primary-soft); color: var(--text); }
.wl-pill {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  background: var(--li-blue-soft); color: var(--li-blue);
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.wl h2 { margin: 10px 0 6px; font-size: 22px; letter-spacing: -0.02em; }
.wl-sub { margin: 0 0 20px; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.wl-form { display: grid; gap: 10px; text-align: left; }
.wl-form label { font-size: 13px; font-weight: 600; }
.wl input {
  width: 100%; box-sizing: border-box; padding: 10px 13px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff;
  font: inherit; font-size: 14px; color: var(--text);
}
.wl input:focus { outline: none; border-color: var(--li-blue); box-shadow: 0 0 0 3px var(--li-blue-soft); }
.wl #wl-code { text-transform: uppercase; letter-spacing: 0.12em; }
.wl #wl-code::placeholder { text-transform: none; letter-spacing: normal; }
.wl .btn { width: 100%; min-height: 42px; font-size: 14px; justify-content: center; }
.wl-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.wl-row .btn { width: auto; padding: 0 18px; white-space: nowrap; }
.wl-blue { background: var(--li-blue); color: #fff; border-color: var(--li-blue); }
.wl-blue:hover { background: #004182; }
.wl .is-busy .btn { opacity: 0.6; cursor: progress; }
.wl-msg { margin: 0; min-height: 0; font-size: 13px; color: var(--muted); }
.wl-msg:empty { display: none; }
.wl-msg.is-bad { color: #b42318; }
.wl-done {
  display: grid; gap: 4px; padding: 16px; border-radius: 14px;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; font-size: 14px;
}
.wl-done[hidden] { display: none; }
.wl-or { position: relative; margin: 20px 0; text-align: center; }
.wl-or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--border); }
.wl-or span { position: relative; padding: 0 12px; background: var(--card); color: #9ca3af; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.wl-foot { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
/* Join waitlist / I have a code switch */
.wl-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 4px 0 22px; border-radius: 999px; background: #f4f3ef; border: 1px solid var(--border); }
.wl-tabs button { position: relative; z-index: 1; padding: 8px 0; border: 0; background: none; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: color 0.3s ease; }
.wl-tabs button[aria-selected="true"] { color: #fff; }
.wl-tab-ind { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--primary); box-shadow: 0 6px 16px -6px rgba(17, 24, 39, 0.45); transition: transform 0.5s cubic-bezier(.34, 1.56, .64, 1); }
.wl[data-view="code"] .wl-tab-ind { transform: translateX(100%); }
.wl-panes { overflow: hidden; transition: height 0.5s cubic-bezier(.22, 1, .36, 1); }
.wl-pane[hidden] { display: none; }
.wl-pill--gold { background: #fde68a; color: #92400e; }
.wl-switch { display: block; width: 100%; margin: 18px 0 0; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted); cursor: pointer; }
.wl-switch b { color: var(--li-blue); font-weight: 600; }
.wl-switch:hover { color: var(--text); }
.wl-pane[data-pane="code"] #wl-code { text-align: center; font-size: 15px; font-weight: 600; letter-spacing: 0.18em; }
.wl-in-right { animation: wl-slide-r 0.46s cubic-bezier(.22, 1, .36, 1) both; }
.wl-in-left { animation: wl-slide-l 0.46s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes wl-slide-r { from { opacity: 0; transform: translateX(28px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wl-slide-l { from { opacity: 0; transform: translateX(-28px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .wl-in-right, .wl-in-left { animation: none; }
  .wl-panes, .wl-tab-ind { transition: none; }
}
.wl-foot a { color: var(--li-blue); font-weight: 600; }
@media (max-width: 480px) {
  .wl-row { grid-template-columns: 1fr; }
  .wl-row .btn { width: 100%; }
}

/* ---------- Comparison tables (blog) ---------- */

.cmp-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.cmp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.cmp-table th,
.cmp-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}

.cmp-table thead th {
  background: var(--primary-soft);
  color: var(--text);
}

.cmp-table tbody th {
  font-weight: 600;
  color: var(--text);
}

.cmp-table tr:last-child th,
.cmp-table tr:last-child td {
  border-bottom: 0;
}

.article-note {
  font-size: 13px;
  color: var(--muted);
}
