:root {
  --blue: #3596d9;
  --blue-50: #f0f8ff;
  --black: #000000;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-300: #d4d4d4;
  --gray-400: #a3a3a3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --mono: ui-monospace, SFMono-Regular, Menlo, "Cascadia Mono", Consolas, monospace;
}

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

h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd, ul, ol {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

ul, ol {
  padding: 0;
  list-style: none;
}

button, input, select, optgroup, textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

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

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-bleed {
  max-width: 66.666%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--black);
  color: var(--white);
  border-radius: 6px;
  font-size: 1rem;
}

.logo-wordmark {
  display: block;
  height: 28px;
  width: auto;
}

.logo-mark-img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a:not(.btn) {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.15s;
}

.main-nav a:not(.btn):hover {
  color: var(--black);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: var(--radius);
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: var(--gray-100);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--black);
}

.nav-toggle-bars {
  position: relative;
  transition: background 0.15s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform 0.15s ease;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Collapse the nav into the hamburger as soon as inline links/buttons no
   longer sit on a single tidy row — well before 680px for the fever layout. */
@media (max-width: 900px) {
  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.5rem;
  }

  .is-collapsible .nav-toggle {
    display: inline-flex;
  }

  .is-collapsible .main-nav {
    display: none;
    position: fixed;
    top: var(--header-height, 64px);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 0.5rem 1.5rem 2rem;
    overflow-y: auto;
    z-index: 99;
  }

  .is-collapsible .main-nav.is-open {
    display: flex;
  }

  .is-collapsible .main-nav a:not(.btn) {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    border-bottom: 1px solid var(--gray-100);
  }

  .is-collapsible .main-nav .btn,
  .is-collapsible .main-nav form {
    width: 100%;
  }

  .is-collapsible .main-nav .btn {
    min-height: 44px;
    margin-top: 0.75rem;
  }

  body.nav-open {
    overflow: hidden;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.15s ease;
}

.btn-primary {
  background: var(--black);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gray-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-600);
}

.btn-ghost:hover {
  color: var(--black);
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  display: block;
}

.btn-disabled {
  background: var(--gray-100);
  color: var(--gray-400);
  border: 1px solid var(--gray-200);
  cursor: not-allowed;
}

.hero {
  padding: 4.5rem 0 1.75rem;
  text-align: center;
  background-color: var(--blue-50);
  background-image:
    linear-gradient(180deg, transparent 0%, var(--white) 100%),
    linear-gradient(rgba(53, 150, 217, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 150, 217, 0.07) 1px, transparent 1px);
  background-size: auto, 28px 28px, 28px 28px;
}

.hero-content {
  max-width: 64rem;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(1.75rem, 3.9vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
  max-width: 100%;
}

@media (min-width: 700px) {
  .hero-title { white-space: nowrap; }
}

.hero-title em {
  font-style: italic;
  color: var(--blue);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin: 0 0 2rem;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero-note {
  font-size: 0.875rem;
  color: var(--gray-500);
}

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

.slot {
  display: inline-grid;
  justify-items: end;
  vertical-align: baseline;
  white-space: nowrap;
}

.slot > .slot-word {
  grid-area: 1 / 1;
}

.slot-ghost {
  visibility: hidden;
}

.slot-word {
  display: block;
  will-change: transform, opacity;
}

.slot-word.is-leaving {
  animation: slot-out 220ms cubic-bezier(0.4, 0, 1, 1) forwards;
}

.slot-word.is-entering {
  animation: slot-in 560ms cubic-bezier(0.22, 1.4, 0.36, 1) forwards;
}

@keyframes slot-out {
  to {
    transform: translateY(-115%);
    opacity: 0;
  }
}

@keyframes slot-in {
  0% {
    transform: translateY(115%);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slot-word.is-leaving,
  .slot-word.is-entering {
    animation: none;
    transform: none;
    opacity: 1;
  }
}

section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 3rem;
}

.problem-content {
  max-width: 800px;
  margin: 0 auto;
}

.problem-text {
  font-size: 1.25rem;
  text-align: center;
  color: var(--gray-700);
  margin-bottom: 3rem;
}

.problem-text strong {
  color: var(--black);
}

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

.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.problem-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.problem-card p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.9375rem;
}

.vision {
  background: var(--gray-50);
}

.vision-content {
  max-width: 900px;
  margin: 0 auto;
}

.vision-text {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
}

.cta {
  background: var(--white);
  color: var(--black);
  text-align: center;
  border-top: 1px solid var(--gray-200);
}

.cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.cta h2 em {
  font-style: italic;
  color: var(--blue);
}

.cta p {
  color: var(--gray-600);
  margin: 0 0 2rem;
  font-size: 1.125rem;
}

.book-demo {
  padding: 4rem 0;
  text-align: center;
}

.book-demo-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 0.75rem;
}

.book-demo-lead {
  max-width: 52ch;
  margin: 0 auto 2.5rem;
  color: var(--gray-600);
  font-size: 1.125rem;
  line-height: 1.5;
}

.book-demo-lead em {
  font-style: italic;
  color: var(--blue);
}

.demo-embed {
  display: block;
  width: 100%;
  height: 720px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
}

@media (max-width: 720px) {
  .demo-embed { height: 860px; }
}

.about-hero {
  padding: 4rem 0;
  text-align: center;
  background: var(--gray-50);
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.about-hero .lead {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin: 0;
}

.about-content {
  padding: 4rem 0;
}

.about-section { max-width: 960px; margin: 0 auto 4rem; }
.about-section > h2 { font-size: 1.75rem; font-weight: 800; margin: 0 0 1.5rem; }

.about-rule {
  border: 0;
  border-top: 1px solid var(--gray-200);
  max-width: 960px;
  margin: 0 auto 4rem;
}

.about-team { scroll-margin-top: 5rem; }

.team-member {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  text-align: left;
}
.team-photo { width: 160px; height: 160px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.team-blurb { flex: 1; min-width: 0; }
.team-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 0.25rem; }
.team-role { color: var(--gray-600); font-weight: 600; font-size: 0.95rem; margin: 0 0 0.9rem; }
.team-blurb > p:not(.team-role) { color: var(--gray-700); line-height: 1.5; margin: 0 0 0.9rem; }
.team-links { display: flex; gap: 0.9rem; align-items: center; margin-top: 0.25rem; flex-wrap: wrap; }
.team-email { display: inline-flex; align-items: center; gap: 0.45rem; }
.team-email-address { height: 1em; width: auto; }
.team-org {
  flex-basis: 100%;
  display: flex;
  gap: 0.9rem;
  align-items: center;
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
  flex-wrap: wrap;
}
.team-org-label { color: var(--gray-500); font-size: 0.95rem; }

@media (max-width: 620px) {
  .team-member { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; }
  .team-links { justify-content: center; }
  .team-org { justify-content: center; }
}
.about-mission { max-width: 760px; }
.about-mission p { color: var(--gray-700); font-size: 1.0625rem; margin: 0 0 1rem; }
.about-mission-quote {
  margin: 1.5rem 0 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--black);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--black);
}
.about-sentence { max-width: 760px; }
.about-sentence h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.75rem; }
.about-sentence ul { list-style: disc; padding-left: 1.5rem; }
.about-sentence li { color: var(--gray-700); font-size: 1.0625rem; margin-bottom: 0.5rem; }

.legal-hero {
  padding: 4rem 0 2rem;
  text-align: center;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.legal-hero h1 { font-size: 2.5rem; font-weight: 800; margin: 0 0 0.5rem; }
.legal-hero .lead { color: var(--gray-600); margin: 0; }
.legal-content { padding: 3rem 0 4rem; }
.legal-text { max-width: 760px; margin: 0 auto; color: var(--gray-700); }
.legal-text > h1 { font-size: 2.25rem; font-weight: 800; color: var(--black); margin: 0 0 0.5rem; }
.legal-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}
.legal-text h3 { font-size: 1.15rem; font-weight: 700; color: var(--black); margin: 2rem 0 0.6rem; }
.legal-text h4 { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin: 1.5rem 0 0.5rem; }
.legal-text p { margin: 0 0 1rem; line-height: 1.7; }
.legal-text ul, .legal-text ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.legal-text ul { list-style: disc; }
.legal-text ol { list-style: decimal; }
.legal-text li { margin: 0.4rem 0; line-height: 1.65; }
.legal-text li > ul, .legal-text li > ol { margin: 0.5rem 0; }
.legal-text a { color: var(--black); text-decoration: underline; }
.legal-text strong { color: var(--black); }
.legal-text table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.9rem; }
.legal-text th, .legal-text td { border: 1px solid var(--gray-200); padding: 0.5rem 0.75rem; text-align: left; }
.legal-text th { background: var(--gray-50); font-weight: 600; }

.blog-index { padding: 3rem 0 4rem; }
.blog-index .container { max-width: 740px; }
.blog-index h1 { font-size: 2.5rem; font-weight: 800; margin: 0 0 2rem; }

.blog-list { display: grid; gap: 2rem; }
.blog-list-item { padding-bottom: 2rem; border-bottom: 1px solid var(--gray-200); }
.blog-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.blog-list-item h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.4rem; }
.blog-list-item h2 a { color: var(--black); text-decoration: none; }
.blog-list-item h2 a:hover { text-decoration: underline; }
.blog-excerpt { color: var(--gray-700); font-size: 1rem; line-height: 1.6; margin: 0; }
.blog-empty { color: var(--gray-500); font-size: 1rem; padding: 1rem 0 2rem; }

.blog-post { padding: 3rem 0 4rem; }
.blog-post .container { max-width: 740px; }
.blog-back { display: inline-block; color: var(--gray-500); text-decoration: none; font-size: 0.875rem; margin-bottom: 1.5rem; }
.blog-back:hover { color: var(--black); }
.blog-post h1 { font-size: 2.25rem; font-weight: 800; color: var(--black); margin: 0 0 0.5rem; line-height: 1.2; }
.blog-post .blog-meta { margin: 0 0 2.5rem; }

.blog-meta { color: var(--gray-500); font-size: 0.875rem; margin: 0 0 0.75rem; }

.blog-body { color: var(--gray-700); font-size: 1.0625rem; line-height: 1.7; }
.blog-body p { margin: 0 0 1.25rem; }
.blog-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--black); margin: 2.5rem 0 1rem; }
.blog-body h3 { font-size: 1.15rem; font-weight: 700; color: var(--black); margin: 2rem 0 0.75rem; }
.blog-body ul, .blog-body ol { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.blog-body ul { list-style: disc; }
.blog-body ol { list-style: decimal; }
.blog-body li { margin: 0.4rem 0; line-height: 1.65; }
.blog-body a { color: var(--black); text-decoration: underline; }
.blog-body strong { color: var(--black); }
.blog-body blockquote {
  margin: 1.5rem 0; padding: 0.25rem 1.5rem;
  border-left: 3px solid var(--black); color: var(--gray-700); font-style: italic;
}
.blog-body code {
  background: var(--gray-100); border-radius: 4px; padding: 0.15rem 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.9em;
}
.blog-body pre {
  background: var(--gray-900); color: var(--white); padding: 1.25rem;
  border-radius: var(--radius); overflow-x: auto; font-size: 0.875rem; line-height: 1.6; margin: 0 0 1.5rem;
}
.blog-body pre code { background: none; padding: 0; color: inherit; font-size: inherit; }

@media (max-width: 600px) {
  .blog-index h1 { font-size: 2rem; }
  .blog-post h1 { font-size: 1.75rem; }
}

.contact-hero {
  padding: 4rem 0 2rem;
  text-align: center;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.contact-hero h1 { font-size: 2.5rem; font-weight: 800; margin: 0 0 0.5rem; }
.contact-hero p { color: var(--gray-600); margin: 0; }
.contact-content { padding: 3rem 0 4rem; }
.contact-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.contact-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.contact-item h2 { font-size: 1.0625rem; font-weight: 600; margin: 0 0 0.5rem; }
.contact-item p { margin: 0; color: var(--gray-700); }
.contact-item a { color: var(--black); }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

.billing-hero {
  padding: 4rem 0;
  text-align: center;
  background: var(--gray-50);
}

.billing-hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

.billing-hero .lead {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--black);
  box-shadow: var(--shadow-lg);
}

.pricing-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.pricing-panel {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.pricing-panel h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 0.75rem; }
.pricing-panel p { color: var(--gray-600); margin: 0 0 1rem; }
.pricing-panel .pricing-features { flex: 1; }
.pricing-business { border-color: var(--black); box-shadow: var(--shadow-lg); }
@media (max-width: 800px) { .pricing-split { grid-template-columns: 1fr; } }

.pricing-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.pricing-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.pricing-price .price {
  font-size: 2.5rem;
  font-weight: 800;
}

.pricing-price .period {
  color: var(--gray-500);
  font-size: 0.9375rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1 1 auto;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--gray-700);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.pricing-faq {
  max-width: 700px;
  margin: 0 auto;
}

.pricing-faq h2 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

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

.faq-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.faq-item p {
  color: var(--gray-600);
  margin: 0;
  font-size: 0.9375rem;
}

.site-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 250px;
}

.footer-brand p {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

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

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin: 0 0 0.25rem;
}

.footer-col a {
  color: var(--gray-700);
  text-decoration: none;
  font-size: 0.9375rem;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.8125rem;
  margin: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.8125rem;
  text-decoration: none;
}

.status-badge:hover {
  color: var(--black);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--black);
  display: inline-block;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .problem-grid,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .footer-col a {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}

.models-index { padding: 3rem 0 4rem; }
.models-index-head { text-align: center; max-width: 34rem; margin: 0 auto 1rem; }
.models-index-head h1 { font-size: 2.5rem; font-weight: 800; margin: 0 0 0.5rem; }
.models-index-head p { color: var(--gray-600); margin: 0; font-size: 1.0625rem; line-height: 1.5; }

.models-fallback { display: grid; gap: 2rem; margin-top: 2rem; }
.models-fallback-group h2 {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.125rem; font-weight: 700; margin: 0 0 0.25rem;
}
.models-fallback-icon { width: 20px; height: 20px; flex: 0 0 auto; }
.models-fallback-blurb { color: var(--gray-500); font-size: 0.875rem; margin: 0 0 0.75rem; }
.models-fallback ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.models-fallback li { border-bottom: 1px solid var(--gray-200); }
.models-fallback li a {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  padding: 0.75rem 0; min-height: 44px; box-sizing: border-box;
  color: var(--black); font-weight: 600; text-decoration: none;
}
.models-fallback li a:hover { text-decoration: underline; }
.models-fallback-modality { color: var(--gray-500); font-size: 0.875rem; }

@media (max-width: 600px) {
  .models-index-head h1 { font-size: 2rem; }
}

.model-detail-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.model-family {
  font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gray-500); font-weight: 600;
}
.model-status {
  font-size: 0.6875rem; padding: 0.15rem 0.5rem; border-radius: 999px;
  border: 1px solid var(--gray-300); color: var(--gray-600);
  white-space: nowrap; flex: 0 0 auto; align-self: flex-start;
}
.model-status-live { border-color: var(--black); color: var(--black); }
.model-status-coming_soon { border-color: var(--gray-300); color: var(--gray-500); }

.products-hero {
  padding: 4rem 0 1.5rem;
  text-align: center;
}
.products-hero h1 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
}
.products-lede {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin: 0;
}
.products-content { padding: 1.5rem 0 4.5rem; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 680px) {
  .products-grid { grid-template-columns: 1fr; }
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.product-card-featured {
  grid-column: 1 / -1;
  padding: 2rem;
  box-shadow: var(--shadow-md, var(--shadow-sm));
  border-color: var(--gray-300);
}
.product-card-featured .product-card-head h2 { font-size: 1.5rem; }
.product-card-featured .product-card-desc { font-size: 1.0625rem; }
.product-card-media {
  margin: -0.5rem -0.5rem 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100, #f3f4f6);
}
.product-card-media img,
.product-card-media video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}
.product-card-featured .product-card-media img,
.product-card-featured .product-card-media video { max-height: 520px; }
.product-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.product-card-head h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.product-card-tagline {
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.product-card-desc {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  flex: 1 1 auto;
}
.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
}
.product-card-actions .btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--black);
}
.product-card-actions .btn-secondary:hover {
  background: var(--white);
  border-color: var(--black);
}
.model-modality { color: var(--gray-600); font-size: 0.875rem; margin: 0 0 0.75rem; }
.model-desc { color: var(--gray-700); font-size: 0.9375rem; line-height: 1.5; }
.model-detail { padding: 3rem 0 4rem; }
.model-back { color: var(--gray-500); text-decoration: none; font-size: 0.875rem; }
.model-back:hover { color: var(--black); }
.model-detail h1 { font-size: 2.5rem; margin: 0.75rem 0 0.25rem; }
.model-meta { display: flex; flex-wrap: wrap; gap: 2rem; margin: 2rem 0; }
.model-meta div { display: flex; flex-direction: column; gap: 0.25rem; }
.model-meta strong { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); }
.code-block {
  background: var(--gray-900); color: var(--white); padding: 1.25rem;
  border-radius: var(--radius); overflow-x: auto; font-size: 0.8125rem; line-height: 1.6;
}
.model-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }

.model-detail-demo { margin: 1.5rem 0 2rem; }
.demo-host { position: relative; border: 1px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.demo-host-frame { width: 100%; height: 900px; border: 0; display: block; }

.auth { display: flex; justify-content: center; padding: 3.5rem 1.5rem; }
.auth-card { width: 100%; max-width: 400px; }
.auth-card h1 { font-size: 1.75rem; margin: 0 0 0.25rem; }
.auth-sub { color: var(--gray-600); margin: 0 0 1.75rem; font-size: 0.9375rem; }
.auth-field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.auth-field label { font-size: 0.8125rem; font-weight: 600; color: var(--gray-700); }
.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
  width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--gray-300);
  border-radius: 6px; font-size: 0.9375rem; background: var(--white);
}
.auth-field input:focus { outline: none; border-color: var(--black); }
.auth-field small { color: var(--gray-500); font-size: 0.75rem; }
.auth-check { flex-direction: row; align-items: center; gap: 0.5rem; }
.auth-check label { font-weight: 400; color: var(--gray-600); }
.auth-check a { color: var(--black); }
.auth-errors {
  background: var(--gray-50); border: 1px solid var(--gray-300);
  border-radius: 6px; padding: 0.75rem 1rem; margin-bottom: 1rem;
}
.auth-errors ul { margin: 0; padding-left: 1.1rem; }
.auth-errors li { color: var(--gray-800); font-size: 0.875rem; }
.auth-divider { text-align: center; margin: 1.25rem 0; position: relative; color: var(--gray-400); font-size: 0.8125rem; }
.auth-divider::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--gray-200); }
.auth-divider span { background: var(--white); padding: 0 0.75rem; position: relative; }
.auth-alt { text-align: center; margin-top: 1.5rem; font-size: 0.875rem; color: var(--gray-600); }
.auth-alt a { color: var(--black); }

.dash { padding: 3rem 0 4rem; }
.dash h1 { font-size: 2rem; margin: 0 0 0.25rem; }
.dash-sub { color: var(--gray-600); margin: 0 0 2rem; }
.dash-notice {
  background: var(--gray-900); color: var(--white); padding: 0.75rem 1rem;
  border-radius: 6px; margin-bottom: 1.5rem; font-size: 0.875rem;
}
.dash-card {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  padding: 1.75rem; margin-bottom: 2.5rem;
}
.dash-tokens { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.5rem; }
.dash-tokens-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); }
.dash-tokens-value { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; }
.dash-key { margin-bottom: 1.25rem; }
.dash-key label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--gray-700); margin-bottom: 0.5rem; }
.dash-key-warn { color: var(--gray-800); font-size: 0.8125rem; margin: 0 0 0.5rem; font-weight: 600; }
.dash-key-row { display: flex; gap: 0.5rem; align-items: center; }
.dash-key-row input {
  flex: 1; padding: 0.6rem 0.75rem; border: 1px solid var(--gray-300);
  border-radius: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.875rem;
}
.dash-key-hint { color: var(--gray-400); font-size: 0.8125rem; }
.dash-h2 { font-size: 1.25rem; margin: 0 0 1rem; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.dash-table th, .dash-table td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--gray-200); }
.dash-table th { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-500); }
.dash-empty { color: var(--gray-500); }

.portal { padding: 2.5rem 0 4rem; }
.portal-inner { display: grid; grid-template-columns: 200px 1fr; gap: 2rem; align-items: start; }
.portal-sidebar { display: flex; flex-direction: column; gap: 0.25rem; position: sticky; top: 88px; }
.portal-nav-item {
  display: block; padding: 0.5rem 0.75rem; border-radius: var(--radius);
  color: var(--gray-600); text-decoration: none; font-size: 0.9375rem; border: 1px solid transparent;
}
.portal-nav-item:hover { color: var(--black); background: var(--gray-50); }
.portal-nav-item.is-active { color: var(--black); font-weight: 600; background: var(--gray-100); border-color: var(--gray-200); }
.portal-content { min-width: 0; }
.portal-content h1 { font-size: 1.75rem; margin: 0 0 0.25rem; }
@media (max-width: 720px) {
  .portal-inner { grid-template-columns: 1fr; }
  .portal-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
}

.docs { padding: 3rem 0 4rem; }
.docs #swagger-ui { margin-top: 1.5rem; }

.widget-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.widget-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.6rem 0.9rem;
  font-size: 0.9375rem;
  color: var(--gray-500);
  cursor: pointer;
}
.widget-tab:hover { color: var(--black); }
.widget-tab-active { color: var(--black); border-bottom-color: var(--black); font-weight: 600; }
.widget-panel { display: none; }
.widget-panel-active { display: block; }
.widget-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.widget-options {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.widget-options-title { font-size: 1rem; margin: 0 0 1rem; }
.widget-option { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.widget-option label { font-size: 0.8125rem; font-weight: 600; color: var(--gray-700); }
.widget-option select,
.widget-option input[type="number"] {
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.875rem;
  background: var(--white);
}
.widget-option input[type="checkbox"] { width: 18px; height: 18px; }
.widget-langs { display: flex; gap: 0.25rem; margin-bottom: 0.75rem; align-items: center; }
.widget-lang {
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
  cursor: pointer;
}
.widget-lang-active { background: var(--black); color: var(--white); border-color: var(--black); }
.widget-copy { margin-left: auto; padding: 0.35rem 0.7rem; font-size: 0.8125rem; }
.widget-request .code-block { white-space: pre; margin: 0; }
.widget-account-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }

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

.pricing-free { display:block; text-align:center; color: var(--gray-500); font-size: 0.875rem; padding: 0.6rem 0; }
.enterprise-cta { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; margin: 2rem 0; }
.enterprise-cta h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.enterprise-cta p { color: var(--gray-600); margin: 0 0 1rem; }
.enterprise-options { display: flex; gap: 1.5rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.enterprise-option { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9375rem; color: var(--gray-700); }
.billing-receipts { color: var(--gray-600); font-size: 0.9375rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

.vision-figure {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0 0;
  overflow: hidden;
}
.vision-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(1) contrast(1.05);
}

.status-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.status-page-inner { text-align: center; max-width: 32rem; }
.status-logo { margin: 0 auto 1.5rem; }
.status-page-inner h1 { font-size: 2rem; margin: 0 0 0.75rem; }
.status-page-inner p { color: var(--gray-600); margin: 0 0 0.5rem; }
.status-page-sub a { color: var(--black); font-size: 0.875rem; }

.ask {
  background-color: var(--blue-50);
  background-image:
    linear-gradient(rgba(53, 150, 217, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(53, 150, 217, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.ask-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--gray-900);
  margin: 0 0 2.5rem;
}

.ask-list {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: left;
}

.ask-item {
  position: relative;
  padding: 0.5rem 0 0.5rem 2.6rem;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--gray-900);
}

.ask-item::before {
  position: absolute;
  left: 0.4rem;
  top: 0.45rem;
  font-size: 1.3rem;
  line-height: 1.5;
  filter: grayscale(1) contrast(1.2);
}

.ask-item-search::before { content: "🔍"; }
.ask-item-power::before { content: "⚡"; }
.ask-item-earth::before { content: "🌍"; }
.ask-item-flask::before { content: "⚗️"; }

.ask-item em {
  font-style: italic;
  color: var(--blue);
}

.ask-bridge {
  max-width: 46ch;
  margin: 2.5rem auto 0;
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.5;
}

.blueprint {
  background-color: var(--black);
  background-image: radial-gradient(rgba(53, 150, 217, 0.14) 1px, transparent 1.5px);
  background-size: 18px 18px;
  color: var(--white);
  padding: 3.5rem 0 4rem;
  text-align: center;
}

.blueprint-title {
  max-width: none;
  margin: 0 auto 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-align: center;
}

.blueprint-title em {
  font-style: italic;
  color: var(--blue);
}

.blueprint-lead {
  max-width: 52ch;
  margin: 0 auto 2.75rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.05rem;
  line-height: 1.5;
}

.swap-list {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.swap {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0.9rem;
}

.swap-cell {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.swap-out { color: rgba(255, 255, 255, 0.55); }

.swap-in {
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 0 24px rgba(53, 150, 217, 0.25);
}

.swap-tag {
  position: absolute;
  top: -0.6rem;
  left: 1rem;
  padding: 0.05rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.6);
}

.swap-in .swap-tag {
  border-color: var(--blue);
  color: var(--blue);
}

.swap-icon {
  width: 96px;
  height: 64px;
  margin-bottom: 0.15rem;
}

.swap-name {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.swap-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  opacity: 0.8;
}

.swap-complexity {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.6rem;
  border-radius: 3px;
  border: 1px dashed currentColor;
}

.swap-complexity.is-out { color: rgba(255, 255, 255, 0.5); }
.swap-complexity.is-in { color: var(--blue); }

.swap-arrow {
  align-self: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue);
}

.blueprint-products {
  max-width: 62ch;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.5;
}

.blueprint-products-list {
  max-width: 560px;
  margin: 1.25rem auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.0rem;
  line-height: 1.5;
}

.blueprint-products-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.7rem;
}

.blueprint-products-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.95rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--blue);
}

.blueprint-products-list strong { color: var(--white); }

.blueprint-products-list em {
  font-style: italic;
  color: var(--blue);
}

@media (max-width: 720px) {
  .ask { padding: 2.5rem 0 3rem; }
  .blueprint { padding: 2.5rem 0 3rem; }

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

  .swap-arrow {
    transform: rotate(90deg);
    padding: 0.1rem 0;
  }
}

.logo-context { font-weight: 400; font-size: 0.75rem; color: var(--gray-600); margin-left: 0.4rem; }
.site-header .main-nav { margin-left: 1.5rem; }
.fever-header-actions { display: flex; align-items: center; gap: 0.85rem; margin-left: auto; }
.fever-header-actions a { display: inline-flex; align-items: center; }

.fever-demo .form-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.fever-demo .form-row input { flex: 1 1 12rem; min-width: 0; padding: 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.fever-demo .form-row select { padding: 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.fever-status { color: var(--gray-600); font-size: 0.875rem; margin-bottom: 1rem; min-height: 1.2em; }
.fever-status:empty { display: none; }

.fever-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.fever-pill { border: 1px solid var(--gray-200); border-radius: 999px; background: var(--white); padding: 0.4rem 0.9rem; font-size: 0.85rem; color: var(--gray-700); cursor: pointer; }
.fever-pill:hover { border-color: var(--black); color: var(--black); }

.fever-group-title { font-size: 1rem; font-weight: 700; margin: 1.25rem 0 0.75rem; }
.fever-group-count { font-weight: 400; color: var(--gray-600); font-size: 0.85rem; }
.fever-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.fever-card { text-align: left; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 0; cursor: pointer; overflow: hidden; display: flex; flex-direction: column; }
.fever-card:hover { border-color: var(--black); }
.fever-card-thumb { position: relative; aspect-ratio: 16 / 10; background: var(--gray-100, #f4f4f4); display: flex; align-items: center; justify-content: center; }
.fever-card-thumb img, .fever-card-thumb video { width: 100%; height: 100%; object-fit: cover; }
.fever-audio-icon { font-size: 2.5rem; color: var(--gray-600); }
.fever-kind { position: absolute; top: 0.5rem; left: 0.5rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; background: rgba(0,0,0,0.75); color: #fff; border-radius: 999px; padding: 0.15rem 0.55rem; }
.fever-card-body { padding: 0.75rem 0.9rem 0.9rem; display: flex; flex-direction: column; gap: 0.5rem; }
.fever-chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.fever-chip { font-size: 0.72rem; font-weight: 600; border: 1px solid var(--gray-200); border-radius: 999px; padding: 0.12rem 0.55rem; }
.fever-chip-gt { border-color: #16a34a; color: #16a34a; background: #f0fdf4; }
.fever-benchmark { font-size: 0.82rem; color: var(--gray-500); margin: -0.5rem 0 0.75rem; }
.fever-corpus { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; margin: -0.5rem 0 1rem; }
.fever-corpus-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-500); }
.fever-corpus-chip { font-size: 0.78rem; color: var(--gray-700); border: 1px solid var(--gray-200); border-radius: 999px; padding: 0.14rem 0.6rem; background: var(--white); }
.fever-corpus-tag { color: var(--gray-500); }
.fever-wave { width: 100%; border-radius: 6px; background: var(--white); border: 1px solid var(--black); margin-bottom: 0.5rem; }
.fever-snippet { font-size: 0.85rem; color: var(--gray-700); margin: 0; line-height: 1.35; }
.fever-snippet mark, .fever-modal-caption mark { background: #ffe9a3; border-radius: 2px; padding: 0 2px; }
.fever-match { height: 5px; background: var(--gray-200); border-radius: 999px; overflow: hidden; }
.fever-match-bar { height: 100%; background: var(--black); border-radius: 999px; }
.fever-match-label { font-size: 0.75rem; color: var(--gray-600); font-variant-numeric: tabular-nums; }

.fever-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.fever-modal[hidden] { display: none; }
.fever-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.fever-modal-body { position: relative; background: var(--white); border-radius: var(--radius); max-width: 860px; width: min(92vw, 860px); max-height: 86vh; overflow: auto; padding: 1rem; }
.fever-modal-body video, .fever-modal-body img { width: 100%; border-radius: calc(var(--radius) - 2px); }
.fever-modal-body audio { width: 100%; }
.fever-modal-close { position: absolute; top: 0.5rem; right: 0.75rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; z-index: 1; }
.fever-modal-caption { padding-top: 0.75rem; }
.fever-modal-caption p { margin: 0 0 0.4rem; }
.fever-transcript, .fever-tags { color: var(--gray-700); }

.fever-demo-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 2rem; align-items: start; }

@media (max-width: 720px) {
  .fever-demo-layout { grid-template-columns: 1fr; }
  .fever-demo-layout .fever-tabs {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0;
  }
  .fever-demo-layout .fever-tab { width: auto; }
  .container-bleed { max-width: 100%; }
  .fever-demo .form-row input { flex-basis: 100%; }
  .fever-results-split { flex-wrap: wrap; }
  .fever-export-panel { flex-basis: 100%; position: static; }
}
.fever-tabs { gap: 0.25rem; margin-top: -7.7px; }
.fever-tab {
  display: block; width: 100%; text-align: left; font: inherit; font-size: 0.9375rem;
  line-height: 1.5; padding: 0.5rem 0.75rem; border: 1px solid transparent; border-radius: var(--radius);
  background: none; color: var(--gray-600); cursor: pointer;
}
.fever-tab:hover { color: var(--black); background: var(--gray-50); }
.fever-tab.is-active { color: var(--black); font-weight: 600; background: var(--gray-100); border-color: var(--gray-200); }
.fever-panel { padding: 0; }
.fever-panel[hidden] { display: none; }
.fever-panel-title { font-size: 1.375rem; font-weight: 700; line-height: 1.5; margin: 0 0 0.4rem; }
.fever-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.fever-panel-lead { color: var(--gray-600); font-size: 0.9375rem; line-height: 1.55; margin: 0 0 1.25rem; }
.fever-subhead { font-size: 1rem; font-weight: 700; margin: 2rem 0 0.75rem; }

.fever-searchbox {
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  background: var(--white); padding: 0.85rem; margin-bottom: 1rem;
}
.fever-searchbox .fever-pills { margin: 0 0 0.75rem; }
.fever-searchbox .form-row { margin-bottom: 0; }
.fever-searchbox form { margin: 0; }
.fever-facets { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 0.75rem; }
.fever-facet-chip { border: 1px solid var(--gray-200); border-radius: 999px; background: var(--white); padding: 0.35rem 0.85rem; font-size: 0.82rem; color: var(--gray-700); cursor: pointer; }
.fever-facet-chip:hover { border-color: var(--black); color: var(--black); }
.fever-facet-chip.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.fever-facet-chip:disabled, .fever-facet-chip.is-disabled { opacity: 0.4; cursor: not-allowed; }

.fever-card.is-selected { border-color: var(--black); box-shadow: inset 0 0 0 2px var(--black); }
.fever-select-tray {
  display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0;
  background: var(--black); color: var(--white); border-radius: 999px;
  padding: 0.45rem 0.6rem 0.45rem 1rem; box-shadow: var(--shadow-lg); font-size: 0.875rem;
}
.fever-select-tray[hidden] { display: none; }
.fever-tray-clear { background: none; border: none; color: var(--gray-300); font: inherit; cursor: pointer; padding: 0 0.5rem; }
.fever-tray-clear:hover { color: var(--white); }
.fever-results-split { display: flex; gap: 1.5rem; align-items: flex-start; }
.fever-results { flex: 1 1 auto; min-width: 0; }
.fever-export-panel {
  flex: 0 0 21.5rem; position: sticky; top: 88px;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem;
}
.fever-export-panel[hidden] { display: none; }
.fever-export-panel h3 { font-size: 1rem; font-weight: 700; margin: 0 0 0.75rem; }
.fever-export-panel .code-block { white-space: pre-wrap; overflow-x: hidden; margin: 0 0 0.75rem; overflow-wrap: anywhere; }
.fever-export-options { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin: 0 0 0.9rem; }
.fever-export-option { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; color: var(--gray-700); cursor: pointer; }
.fever-export-note { color: var(--gray-600); font-size: 0.875rem; line-height: 1.5; margin: 0; max-width: 62ch; }

.fever-snippets { display: flex; flex-direction: column; gap: 1.25rem; }
.fever-snippet-card h3 { font-size: 0.9375rem; font-weight: 700; margin: 0 0 0.5rem; }
.fever-snippet-card .code-block { white-space: pre; margin: 0; }
.fever-snippet-note { color: var(--gray-600); font-size: 0.8125rem; line-height: 1.5; margin: 0.5rem 0 0; }
.fever-test-panel { border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem; margin-top: 1.5rem; }
.fever-test-panel h3 { font-size: 1rem; font-weight: 700; margin: 0 0 0.75rem; }
.fever-test-actions { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; }
.fever-test-actions .fever-refresh { margin-bottom: 0; }
.fever-test-panel .code-block { white-space: pre; max-height: 320px; overflow: auto; margin: 0 0 0.75rem; }
.fever-test-panel .code-block[hidden] { display: none; }

.fever-sql-item {
  display: flex; flex-direction: column; gap: 0.3rem; text-align: left; cursor: pointer;
  border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white);
  padding: 0.7rem 0.9rem; font: inherit;
}
.fever-sql-item:hover { border-color: var(--black); }
.fever-sql-title { font-size: 0.9375rem; font-weight: 600; }
.fever-sql-code { font-family: var(--mono); font-size: 0.75rem; color: var(--gray-600); white-space: pre-wrap; }
.fever-sql-scroll { max-height: 380px; overflow: auto; border: 1px solid var(--gray-200); border-radius: var(--radius); }
.fever-sql-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; font-variant-numeric: tabular-nums; }
.fever-sql-table th, .fever-sql-table td { text-align: left; padding: 0.45rem 0.7rem; border-bottom: 1px solid var(--gray-200); }
.fever-sql-table th {
  position: sticky; top: 0; z-index: 1; background: var(--gray-50);
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500);
}
.fever-sql-table tbody tr:last-child td { border-bottom: none; }
.fever-sql-block { margin-bottom: 1.5rem; }
.fever-sql-block .fever-sql-item { margin-bottom: 0.75rem; }

.fever-dupe-pair-thumb {
  width: 96px; height: 96px; object-fit: cover; border-radius: 4px;
  background: var(--gray-100); margin-right: 0.4rem;
}
.fever-dupe-cosine { font-weight: 700; font-variant-numeric: tabular-nums; }
.fever-slider-row { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 0.5rem; }
.fever-threshold-slider { flex: 1; accent-color: var(--black); }
.fever-threshold-value { font-weight: 700; font-variant-numeric: tabular-nums; min-width: 3ch; text-align: right; }
.fever-account-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0.75rem; margin: 0.75rem 0 1.5rem; }
.fever-account-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 0.85rem 1rem; }
.fever-account-card h4 { font-size: 0.875rem; font-weight: 700; margin: 0 0 0.6rem; }
.fever-account-stats { display: flex; gap: 1rem; flex-wrap: wrap; }
.fever-stat { display: flex; flex-direction: column; }
.fever-stat b { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.fever-stat span { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); }
.fever-refresh {
  border: 1px solid var(--gray-200); border-radius: 999px; background: var(--white);
  padding: 0.3rem 0.85rem; font-size: 0.8125rem; color: var(--gray-700); cursor: pointer;
  margin-bottom: 0.6rem;
}
.fever-refresh:hover { border-color: var(--black); color: var(--black); }

.fever-fraud-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0.75rem; margin: 0.75rem 0 1.5rem; }
.fever-fraud-card { border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 0.85rem 1rem; }
.fever-fraud-head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; font-size: 0.875rem; font-weight: 700; margin: 0 0 0.6rem; }
.fever-fraud-members { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.fever-fraud-member { display: flex; flex-direction: column; gap: 0.3rem; }
.fever-fraud-member img { width: 104px; height: 104px; object-fit: cover; border-radius: 4px; background: var(--gray-100); }
.fever-fraud-account { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); }

.fever-spec-frame { width: 100%; height: 80vh; border: 1px solid var(--gray-200); border-radius: var(--radius); }

.fever-spec-text { margin-top: 2.5rem; }
.fever-spec-text > p:first-child { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); margin: 0 0 1.5rem; }
.fever-spec-text h2 { font-size: 1.35rem; font-weight: 800; margin: 2rem 0 0.75rem; letter-spacing: -0.02em; }
.fever-spec-text h2:first-of-type { margin-top: 0; }
.fever-spec-text p { color: var(--gray-700); line-height: 1.65; margin: 0 0 1rem; }
.fever-spec-text .dash-table { margin: 0.75rem 0 1.5rem; }
.fever-spec-text ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.fever-spec-text li { margin: 0.3rem 0; line-height: 1.6; color: var(--gray-700); }

.fever-flow { list-style: none; margin: 0 0 3rem; padding: 0; display: flex; gap: 2rem; }
.fever-flow > li { text-align: center; padding: 2rem 1.5rem; border: 1px solid var(--gray-200); border-radius: var(--radius); position: relative; flex: 1; }
.fever-flow > li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.35rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-400);
  z-index: 1;
  animation: fever-flow-arrow 1.6s ease-in-out infinite;
}
.fever-flow h2 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.5rem; }
.fever-flow p { color: var(--gray-600); margin: 0; }

@keyframes fever-flow-arrow {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 0.5; }
  50% { transform: translateY(-50%) translateX(0.3rem); opacity: 1; }
}

.fever-ingest { display: flex; align-items: center; justify-content: center; position: relative; height: 3.6rem; margin: 0 auto 1rem; }
.fever-chip {
  position: absolute;
  top: 0;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--black);
  border-radius: 0.1rem;
  opacity: 0;
  animation: fever-chip-drop 2.4s linear infinite;
}
.fever-chip:nth-child(1) { left: 28%; margin-left: -0.275rem; }
.fever-chip:nth-child(2) { left: 50%; margin-left: -0.275rem; animation-delay: 0.8s; border-radius: 50%; }
.fever-chip:nth-child(3) { left: 72%; margin-left: -0.275rem; animation-delay: 1.6s; border-radius: 50% 50% 0 0; }

@keyframes fever-chip-drop {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  12% { opacity: 1; }
  78% { transform: translateY(2.6rem) scale(1); opacity: 1; }
  92% { transform: translateY(3.1rem) scale(0.5); opacity: 0.8; }
  100% { transform: translateY(3.2rem) scale(0.3); opacity: 0; }
}

.fever-cylinder { position: relative; width: 4rem; height: 2.8rem; flex: 0 0 auto; }
.fever-cylinder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.85rem;
  border-radius: 50%;
  background: var(--black);
  z-index: 2;
}
.fever-cylinder::after {
  content: "";
  position: absolute;
  top: 0.425rem;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, var(--black), var(--gray-700) 50%, var(--black));
  border-bottom-left-radius: 50% 0.85rem;
  border-bottom-right-radius: 50% 0.85rem;
}

.fever-anim { display: flex; align-items: center; justify-content: center; height: 3.6rem; }

.fever-ingest { position: relative; }

.fever-files { display: flex; align-items: center; gap: 0.6rem; height: 3.6rem; justify-content: center; }
.fever-file {
  display: inline-block;
  width: 1.1rem;
  height: 1.35rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 0.125rem;
  position: relative;
}
.fever-file::after { content: ""; position: absolute; top: 0.25rem; left: 0.2rem; right: 0.2rem; height: 0.12rem; background: var(--gray-400); }
.fever-file:nth-child(2)::after { top: 0.5rem; }
.fever-file:nth-child(3)::after { top: 0.75rem; }
.fever-file { animation: fever-file-slide 2s ease-out infinite; }
.fever-file:nth-child(2) { animation-delay: 0.66s; }
.fever-file:nth-child(3) { animation-delay: 1.32s; }

@keyframes fever-file-slide {
  0% { transform: translateX(-0.8rem) scale(0.5); opacity: 0; }
  30% { opacity: 1; }
  50% { transform: translateX(0) scale(1); opacity: 1; }
  100% { transform: translateX(0) scale(1); opacity: 0; }
}

.fever-wave { display: flex; align-items: center; gap: 0.3rem; height: 3.6rem; justify-content: center; }
.fever-wave i {
  width: 0.4rem;
  background: var(--black);
  border-radius: 0.125rem;
  height: 0.4rem;
  animation: fever-wave-bar 1s ease-in-out infinite;
}
.fever-wave i:nth-child(2) { animation-delay: 0.15s; }
.fever-wave i:nth-child(3) { animation-delay: 0.3s; }
.fever-wave i:nth-child(4) { animation-delay: 0.45s; }
.fever-wave i:nth-child(5) { animation-delay: 0.6s; }

@keyframes fever-wave-bar {
  0%, 100% { height: 0.4rem; }
  50% { height: 1.4rem; }
}

.fever-dupe { display: flex; align-items: center; gap: 0.6rem; height: 3.6rem; justify-content: center; }
.fever-dupe-tag { font-size: 0.6875rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em; }
.fever-dupe-flag { width: 1.25rem; height: 0.7rem; border: 1px solid var(--gray-200); background: var(--white); border-radius: 0.35rem; position: relative; }
.fever-dupe-knob {
  position: absolute;
  top: 0.15rem;
  left: 0.1rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--black);
  animation: fever-dupe-toggle 1.8s ease-in-out infinite;
}

@keyframes fever-dupe-toggle {
  0%, 100% { transform: translateX(0); }
  80% { transform: translateX(0.4rem); }
}

@media (max-width: 900px) {
  .fever-flow { flex-direction: column; }
  .fever-flow > li:not(:last-child)::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .fever-chip, .fever-file, .fever-wave i, .fever-dupe-knob { display: none; }
  .fever-flow li:not(:last-child)::after { animation: none; }
  .fever-do-item .fever-do-stage * { animation: none !important; }
}

.fever-do { margin-top: 3rem; }
.fever-do h2 { font-size: 1.75rem; font-weight: 800; margin: 0 0 1.5rem; letter-spacing: -0.02em; }
.fever-do-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 1.25rem; background: var(--white); padding: 1.5rem 1.75rem;
}
.fever-do-item > h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 1.25rem; }
.fever-do-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: stretch; }
.fever-do-col { display: flex; flex-direction: column; }
.fever-do-col h4 {
  margin: 0 0 0.5rem; font-size: 0.75rem; font-weight: 700;
  color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em;
}
.fever-do-with h4 { color: var(--black); }
.fever-do-stage {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 1.25rem; background: var(--gray-50);
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 720px) {
  .fever-do-cols { grid-template-columns: 1fr; }
}

/* 1. Search: "vintage plaid handbag" - 0 results, then FEVER hit. */
.anim-plaid-box { position: relative; max-width: 26rem; margin: 0 auto; }
.anim-plaid-query {
  display: block; font: inherit;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white); font-size: 0.85rem;
}
.anim-plaid-empty {
  display: block; margin-top: 0.75rem;
  color: var(--gray-500); font-size: 0.85rem;
  animation: fever-do-plaid-empty 5s ease-in-out infinite;
}
.anim-plaid-hit {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.75rem; padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white);
  opacity: 0; transform: translateY(0.4rem);
  animation: fever-do-plaid-hit 5s ease-in-out infinite;
}
.anim-plaid-img { width: 22px; height: 22px; display: block; flex: 0 0 22px; }
.anim-plaid-check {
  position: absolute; top: -0.35rem; right: 0.5rem;
  padding: 0.05rem 0.4rem; border-radius: 999px;
  background: var(--black); color: var(--white); font-size: 0.75rem;
  opacity: 0;
  animation: fever-do-plaid-check 5s ease-in-out infinite;
}
@keyframes fever-do-plaid-empty {
  0%, 22% { opacity: 1; }
  30%, 100% { opacity: 0; }
}
@keyframes fever-do-plaid-hit {
  0%, 22% { opacity: 0; transform: translateY(0.4rem); }
  32%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes fever-do-plaid-check {
  0%, 32% { opacity: 0; transform: scale(0.5); }
  42%, 100% { opacity: 1; transform: scale(1); }
}

/* 1b. Image-based search - drop a jeans photo in, denim thumbs appear. */
.fever-do-cols-alt { margin-top: 1.5rem; }
.anim-denim-box { position: relative; }
.anim-denim-query {
  display: block; font: inherit;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white); font-size: 0.85rem;
}
.anim-denim-empty {
  display: block; margin-top: 0.75rem;
  color: var(--gray-500); font-size: 0.85rem;
}
.anim-denim-dropzone {
  position: relative;
  border: 1.5px dashed var(--gray-300, #d4d4d4); border-radius: var(--radius);
  background: var(--white);
  min-height: 3.2rem;
  display: flex; align-items: center; justify-content: center;
}
.anim-denim-hint { color: var(--gray-500); font-size: 0.8rem; }
.anim-denim-pill {
  position: absolute; top: 0.4rem; left: 0.4rem;
  padding: 0.15rem 0.55rem;
  background: var(--black); color: var(--white);
  border-radius: 999px; font-size: 0.7rem; font-weight: 600;
  animation: fever-do-denim-drop 6s ease-in-out infinite;
}
.anim-denim-results {
  display: flex; gap: 0.5rem; align-items: center;
  margin-top: 0.75rem;
}
.anim-denim-thumb {
  flex: 1 1 0; aspect-ratio: 4/3;
  border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white);
  opacity: 0;
  animation: fever-do-denim-thumbs 6s ease-in-out infinite;
}
.anim-denim-thumb svg { display: block; width: 100%; height: 100%; }
.anim-denim-thumb:nth-child(1) { animation-delay: 0.2s; }
.anim-denim-thumb:nth-child(2) { animation-delay: 0.4s; }
.anim-denim-thumb:nth-child(3) { animation-delay: 0.6s; }
.anim-denim-check {
  margin-left: 0.35rem;
  padding: 0.05rem 0.45rem; border-radius: 999px;
  background: var(--black); color: var(--white); font-size: 0.75rem;
  opacity: 0;
  animation: fever-do-denim-check 6s ease-in-out infinite;
}
@keyframes fever-do-denim-drop {
  0%, 12% { opacity: 0; transform: translate(1.5rem, -1.2rem) scale(0.9); }
  28%, 70% { opacity: 1; transform: translate(0, 0) scale(1); }
  85%, 100% { opacity: 0; transform: translate(0, 0) scale(0.85); }
}
@keyframes fever-do-denim-thumbs {
  0%, 30% { opacity: 0; transform: translateY(0.4rem); }
  42%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes fever-do-denim-check {
  0%, 40% { opacity: 0; transform: scale(0.5); }
  52%, 100% { opacity: 1; transform: scale(1); }
}

/* 2. "Compliance chat" - four message bubbles roll in. */
.anim-comprehend { display: flex; flex-direction: column; gap: 0.6rem; max-width: 30rem; margin: 0 auto; }
.anim-comprehend-bubble {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  padding: 0.6rem 0.9rem; background: var(--white);
  opacity: 0; transform: translateX(-0.6rem);
  animation: fever-do-chat 9s ease-in-out infinite;
}
.anim-comprehend-bubble p { margin: 0; color: var(--gray-600); }
.anim-comprehend-bubble .who {
  display: block; font-size: 0.75rem; font-weight: 700;
  color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.04em;
}
.anim-comprehend-bubble.anim-1 { animation-delay: 0s; }
.anim-comprehend-bubble.anim-2 { animation-delay: 1.5s; }
.anim-comprehend-bubble.anim-3 { animation-delay: 3s; }
.anim-comprehend-bubble.anim-4 { animation-delay: 4.5s; }
@keyframes fever-do-chat {
  0% { opacity: 0; transform: translateX(-0.6rem); }
  8%, 100% { opacity: 1; transform: translateX(0); }
}

/* 3. Curation row: type "document dataset", click thumbs, cascade result. */
.anim-curate-row { max-width: 26rem; margin: 0 auto; }
.anim-curate-input {
  display: block; font: inherit; width: 100%;
  padding: 0.5rem 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius);
  background: var(--white); font-size: 0.85rem;
}
.anim-curate-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.anim-curate-thumb {
  flex: 1 1 0; aspect-ratio: 4/3;
  border: 1px solid var(--gray-200); border-radius: var(--radius); background: var(--white);
  position: relative;
  opacity: 0;
  animation: fever-do-thumbs 8s ease-in-out infinite;
}
.anim-curate-thumb:nth-child(1) { animation-delay: 0.3s; }
.anim-curate-thumb:nth-child(2) { animation-delay: 1.1s; }
.anim-curate-thumb:nth-child(3) { animation-delay: 1.9s; }
.anim-curate-thumb:nth-child(4) { animation-delay: 2.7s; }
.anim-curate-thumb::after {
  content: "✓"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--black); font-weight: 700;
}
.anim-curate-none { color: var(--gray-500); font-size: 0.85rem; margin: 0.6rem 0 0; }
.anim-curate-found { color: var(--black); font-weight: 600; }
.anim-curate-out {
  margin: 0.75rem 0 0; color: var(--gray-600); font-size: 0.85rem;
  animation: fever-do-done 8s ease-in-out infinite;
}
@keyframes fever-do-thumbs {
  0%, 12% { opacity: 0; transform: translateY(0.35rem); }
  18%, 100% { opacity: 1; transform: translateY(0); }
}
@keyframes fever-do-done {
  0%, 75% { opacity: 0.4; font-weight: 400; }
  90%, 100% { opacity: 1; font-weight: 700; }
}


.fever-spec-text { margin-top: 2.5rem; }
.fever-spec-text > p:first-child { font-size: 0.8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray-500); margin: 0 0 1.5rem; }
.fever-spec-text h2 { font-size: 1.35rem; font-weight: 800; margin: 2rem 0 0.75rem; letter-spacing: -0.02em; }
.fever-spec-text h2:first-of-type { margin-top: 0; }
.fever-spec-text p { color: var(--gray-700); line-height: 1.65; margin: 0 0 1rem; }
.fever-spec-text .dash-table { margin: 0.75rem 0 1.5rem; }
.fever-spec-text ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.fever-spec-text li { margin: 0.3rem 0; line-height: 1.6; color: var(--gray-700); }

@media (max-width: 720px) {
  .fever-demo-layout { grid-template-columns: 1fr; }
  .fever-tabs { position: static; flex-direction: row; flex-wrap: wrap; margin-top: 0; }
  .fever-results-split { flex-direction: column; }
  .fever-export-panel { position: static; flex: 0 0 auto; }
}
