.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-link {
  font-size: 0.9rem;
  color: var(--coral-bright);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.section-link:hover {
  color: var(--cyan-bright);
}
.claw-accent {
  color: var(--coral-bright);
  font-weight: 700;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
.container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
.hero {
  text-align: center;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out;
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.lobster-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  animation: float 4s ease-in-out infinite;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.lobster-icon:hover {
  transform: scale(1.1);
  animation: none;
}
.lobster-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px var(--logo-glow));
  transition: filter 0.3s ease;
}
.lobster-icon:hover svg {
  filter: drop-shadow(0 0 30px var(--logo-glow-hover));
}
.lobster-icon .eye-glow {
  animation: blink 3s ease-in-out infinite;
}
.lobster-icon .antenna {
  animation: wiggle 2s ease-in-out infinite;
  transform-origin: center;
}
.lobster-icon .claw-left {
  animation: clawSnap 4s ease-in-out infinite;
  transform-origin: right center;
}
.lobster-icon .claw-right {
  animation: clawSnap 4s ease-in-out infinite 0.2s;
  transform-origin: left center;
}
@keyframes float {
  0%,
  to {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes blink {
  0%,
  90%,
  to {
    opacity: 1;
  }
  95% {
    opacity: 0.3;
  }
}
@keyframes wiggle {
  0%,
  to {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(3deg);
  }
}
@keyframes clawSnap {
  0%,
  85%,
  to {
    transform: rotate(0);
  }
  90% {
    transform: rotate(-8deg);
  }
  95% {
    transform: rotate(0);
  }
}
.title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.title-main {
  background: linear-gradient(
    135deg,
    var(--hero-title-start) 0%,
    var(--coral-bright) 52%,
    var(--hero-title-end) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}
@keyframes gradientShift {
  0%,
  to {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}
.tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--coral-bright);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}
.tagline.dalek-mode {
  color: var(--cyan-bright);
  animation: shake 0.1s ease-in-out infinite;
  text-shadow: 0 0 10px var(--cyan-glow);
}
@keyframes shake {
  0%,
  to {
    transform: translate(0);
  }
  25% {
    transform: translate(-2px);
  }
  75% {
    transform: translate(2px);
  }
}
.description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.45s both;
}
@media (min-width: 640px) {
  .cta-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 16px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.cta:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow:
    0 12px 40px var(--shadow-coral-soft),
    inset 0 1px 0 var(--surface-inset-highlight);
}
.cta-icon {
  width: 28px;
  height: 28px;
  color: var(--coral-bright);
  transition: transform 0.25s ease;
}
.cta:hover .cta-icon {
  transform: scale(1.1);
}
.cta-discord:hover {
  border-color: #5865f2;
  box-shadow: 0 12px 40px #5865f233;
}
.cta-discord:hover .cta-icon {
  color: #5865f2;
}
.cta-docs:hover {
  border-color: var(--cyan-bright);
  box-shadow: 0 12px 40px var(--shadow-cyan-soft);
}
.cta-docs:hover .cta-icon {
  color: var(--cyan-bright);
}
.cta-github:hover {
  border-color: var(--github-hover-color);
  box-shadow: 0 12px 40px var(--shadow-github-soft);
}
.cta-github:hover .cta-icon {
  color: var(--github-hover-color);
}
.cta-skills:hover {
  border-color: #fbbf24;
  box-shadow: 0 12px 40px #fbbf2426;
}
.cta-skills:hover .cta-icon {
  color: #fbbf24;
}
.cta-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}
.cta-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.newsletter {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}
.newsletter-content {
  text-align: center;
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--newsletter-gradient);
  backdrop-filter: blur(12px);
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.newsletter-title .claw-accent {
  color: var(--coral-bright);
  font-weight: 700;
}
.newsletter-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card-strong);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}
.newsletter-input::placeholder {
  color: var(--text-muted);
}
.newsletter-input:focus {
  border-color: var(--coral-bright);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral-bright) 22%, transparent);
}
.newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(
    135deg,
    var(--coral-bright) 0%,
    var(--coral-dark) 100%
  );
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px var(--shadow-coral-mid);
}
.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-coral-strong);
}
.newsletter-btn:active {
  transform: translateY(0);
}
.newsletter-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.newsletter-btn:hover svg {
  transform: translate(3px);
}
@media (max-width: 480px) {
  .newsletter-content {
    padding: 28px 20px;
  }
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-input {
    width: 100%;
  }
  .newsletter-btn {
    width: 100%;
    justify-content: center;
  }
}
.features {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.55s both;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-card {
  display: block;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral-bright);
  box-shadow: 0 12px 40px
    color-mix(in srgb, var(--coral-bright) 20%, transparent);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.feature-icon svg {
  width: 28px;
  height: 28px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  text-align: center;
}
.feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.integrations-preview {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.integrations-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}
.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(8px);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}
.integration-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.integration-pill:hover {
  border-color: var(--coral-bright);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px
    color-mix(in srgb, var(--coral-bright) 20%, transparent);
}
.integrations-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.integrations-link {
  color: var(--coral-bright);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.integrations-link:hover {
  color: var(--cyan-bright);
}
.link-separator {
  color: var(--text-muted);
  font-size: 0.9rem;
}
.press-section {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.65s both;
}
.press-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 640px) {
  .press-grid {
    grid-template-columns: 1fr;
  }
}
.press-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card-strong);
  backdrop-filter: blur(12px);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}
.press-card:hover {
  transform: translateY(-4px);
  border-color: var(--coral-bright);
  box-shadow: 0 12px 40px var(--shadow-coral-soft);
}
.press-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.press-icon {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
}
.press-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.press-quote {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
  font-style: italic;
}
.press-author {
  font-size: 0.9rem;
  color: var(--coral-bright);
  font-weight: 500;
}
.press-featured {
  border-color: var(--border-accent);
  background: var(--press-featured-gradient);
}
.quickstart {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}
.code-block {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}
.code-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--surface-overlay);
  border-bottom: 1px solid var(--border-subtle);
}
.code-content {
  padding: 16px 20px;
  font-family:
    SF Mono,
    Fira Code,
    Consolas,
    monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}
.code-line {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}
.code-line.comment {
  color: var(--text-muted);
  font-style: italic;
}
.code-line.cmd {
  color: var(--text-primary);
}
.copy-line-btn {
  opacity: 0.6;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 6px;
  background: var(--surface-interactive);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.code-line:hover .copy-line-btn {
  opacity: 1;
}
.copy-line-btn:hover {
  background: var(--surface-interactive-hover);
  color: var(--text-primary);
}
.copy-line-btn.copied {
  opacity: 1;
  background: var(--surface-cyan-soft);
  color: var(--cyan-bright);
}
.copy-line-btn svg {
  width: 14px;
  height: 14px;
}
.code-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-muted);
}
.code-dot:nth-child(1) {
  background: #ff5f57;
}
.code-dot:nth-child(2) {
  background: #febc2e;
}
.code-dot:nth-child(3) {
  background: #28c840;
}
.code-title {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.mode-switch,
.pm-switch,
.hackable-switch,
.os-switch {
  display: flex;
  gap: 4px;
  background: var(--surface-overlay);
  padding: 3px;
  border-radius: 6px;
}
.pm-switch,
.hackable-switch,
.os-switch {
  margin-left: auto;
}
.mode-btn,
.pm-btn,
.hackable-btn,
.os-btn {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border: none;
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.mode-btn:hover,
.pm-btn:hover,
.hackable-btn:hover,
.os-btn:hover {
  color: var(--text-secondary);
}
.pm-btn.active,
.hackable-btn.active,
.os-btn.active {
  background: var(--coral-bright);
  color: var(--bg-deep);
  font-weight: 600;
}
.mode-btn.active {
  background: var(--cyan-bright);
  color: var(--bg-deep);
  font-weight: 600;
}
.beta-switch {
  margin-left: 8px;
}
.switch-placeholder {
  display: none;
  height: 26px;
  margin-left: auto;
}
.beta-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.beta-btn:hover {
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}
.beta-btn.active {
  background: var(--surface-cyan-soft);
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
}
.beta-label {
  font-weight: 700;
  font-size: 0.8rem;
}
.beta-text {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pm-cmd,
.pm-install {
  color: var(--cyan-bright);
}
.code-block pre {
  padding: 20px;
  overflow-x: auto;
}
.code-block code {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.code-comment {
  color: var(--text-muted);
}
.code-prompt {
  color: var(--coral-bright);
  user-select: none;
}
.quickstart-note {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}
.macos-app-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px 16px;
  text-align: center;
}
.macos-description {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.macos-tagline {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}
.macos-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.macos-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(
    135deg,
    var(--coral-bright) 0%,
    var(--coral-dark) 100%
  );
  border: none;
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px var(--shadow-coral-mid);
}
.macos-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-coral-strong);
}
.macos-download-btn svg {
  width: 20px;
  height: 20px;
}
.macos-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.sponsors {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.72s both;
}
.sponsors .section-title {
  margin-bottom: 24px;
}
.sponsors-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.sponsor-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: 0 12px 40px var(--shadow-coral-soft);
}
.sponsor-logo {
  height: 36px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
html[data-theme="light"] .sponsor-logo-invert-on-light {
  filter: invert(1);
  opacity: 0.8;
}
.sponsor-card:hover .sponsor-logo {
  opacity: 1;
}
.sponsor-logo-openai {
  height: 32px;
}
.sponsor-logo-nvidia {
  height: 30px;
}
.sponsor-logo-blacksmith {
  height: 32px;
}
.sponsor-logo-convex,
.sponsor-logo-vercel {
  height: 28px;
}
.sponsor-logo-light-only,
html[data-theme="light"] .sponsor-logo-dark-only {
  display: none;
}
html[data-theme="light"] .sponsor-logo-light-only {
  display: block;
}
@media (max-width: 480px) {
  .sponsors-grid {
    gap: 16px;
  }
  .sponsor-card {
    padding: 16px 24px;
  }
  .sponsor-logo {
    height: 28px;
  }
  .sponsor-logo-openai {
    height: 24px;
  }
  .sponsor-logo-nvidia {
    height: 22px;
  }
  .sponsor-logo-blacksmith {
    height: 24px;
  }
  .sponsor-logo-convex,
  .sponsor-logo-vercel {
    height: 22px;
  }
}
.footer {
  margin-top: auto;
  padding-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease-out 0.75s both;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 8px;
  row-gap: 8px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}
.footer-separator {
  color: var(--text-muted);
  margin: 0 4px;
}
.footer a {
  color: var(--coral-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--cyan-bright);
}
.footer .disclaimer {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}
.latest-post {
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
  text-align: center;
}
.latest-post-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border-radius: 50px;
  background: var(--surface-card-strong);
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  transition: all 0.3s ease;
}
.latest-post-card:hover {
  border-color: var(--coral-bright);
  box-shadow: 0 4px 20px var(--shadow-coral-mid);
}
.latest-post-badge {
  padding: 3px 8px;
  border-radius: 12px;
  background: var(--coral-bright);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.latest-post-title {
  font-size: 0.9rem;
  color: var(--text-primary);
}
.latest-post-link {
  color: var(--text-muted);
  transition: color 0.2s;
}
.latest-post-card:hover .latest-post-link {
  color: var(--coral-bright);
}
.testimonials {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.75s both;
  overflow: hidden;
  margin-left: -24px;
  margin-right: -24px;
  padding: 0 24px;
}
.testimonials .section-header {
  padding: 0 24px;
}
.testimonials-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: -24px;
  margin-right: -24px;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}
.testimonials-track:focus-within .testimonials-row {
  animation-play-state: paused;
}
.testimonials-row {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 8px 0;
}
.row-1 {
  animation: scroll-left var(--duration, 80s) linear infinite;
}
.row-2 {
  animation: scroll-right var(--duration, 90s) linear infinite;
}
@keyframes scroll-left {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(-50%);
  }
}
@keyframes scroll-right {
  0% {
    transform: translate(-50%);
  }
  to {
    transform: translate(0);
  }
}
.testimonial-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  min-width: 320px;
  max-width: 400px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card-strong);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.testimonial-card:hover {
  border-color: var(--coral-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-coral-soft);
}
.testimonials-row:hover {
  animation-play-state: paused;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--border-subtle);
  background: var(--bg-elevated);
}
.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-author {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--coral-bright);
}
@media (max-width: 480px) {
  .container {
    padding: 40px 16px 32px;
  }
  .lobster-icon {
    width: 80px;
    height: 80px;
  }
  .cta {
    padding: 20px 12px;
  }
  .cta-label {
    font-size: 0.9rem;
  }
  .testimonials {
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
  }
  .testimonials .section-header {
    padding: 0 16px;
  }
  .testimonials-track {
    margin-left: -16px;
    margin-right: -16px;
  }
  .testimonial-card {
    min-width: 280px;
    max-width: 320px;
    padding: 12px;
  }
  .testimonial-avatar {
    width: 36px;
    height: 36px;
  }
  .testimonial-quote {
    font-size: 0.85rem;
  }
  .footer-nav {
    gap: 6px;
    font-size: 0.85rem;
  }
  .footer a {
    display: inline-block;
  }
  .footer-separator {
    margin: 0 2px;
  }
  .code-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .code-dot {
    order: 0;
  }
  .os-switch,
  .pm-switch,
  .hackable-switch,
  .beta-switch,
  .switch-placeholder {
    order: 1;
    margin-left: auto;
  }
  .mode-switch {
    order: 2;
    width: 100%;
    justify-content: center;
    margin-top: 4px;
  }
  .mode-btn {
    padding: 6px 8px;
    font-size: 0.65rem;
  }
  .os-btn,
  .pm-btn {
    padding: 4px 8px;
    font-size: 0.65rem;
  }
  .code-content {
    padding: 12px 14px;
    font-size: 0.65rem;
  }
  .code-line {
    gap: 6px;
  }
  .macos-download-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  .footer-nav {
    gap: 10px;
    font-size: 0.9rem;
  }
  .footer a {
    display: inline-block;
  }
  .footer-separator {
    margin: 0 6px;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
:focus-visible {
  outline: 3px solid var(--cyan-bright);
  outline-offset: 4px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  ,
  :before,
  :after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === Community-first redesign additions === */

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-btn-primary {
  background: linear-gradient(
    135deg,
    var(--coral-bright) 0%,
    var(--coral-dark) 100%
  );
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px var(--shadow-coral-mid);
}
.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--shadow-coral-strong);
}
.hero-btn-secondary {
  background: var(--surface-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.hero-btn-secondary:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-coral-soft);
}
.hero-btn-secondary svg {
  width: 18px;
  height: 18px;
}

.hero-install {
  margin-top: 20px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
  text-align: center;
}
.hero-install-code {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  user-select: all;
}

.pearl-explainer {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.55s both;
}
.explainer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .explainer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .explainer-arrow {
    transform: rotate(90deg);
  }
}
.explainer-card {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
}
.explainer-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}
.explainer-card code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--coral-bright);
  background: var(--surface-overlay);
  padding: 2px 6px;
  border-radius: 4px;
}
.explainer-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 8px;
}
.explainer-before .explainer-label {
  color: var(--text-muted);
  background: var(--surface-overlay);
}
.explainer-after .explainer-label {
  color: var(--coral-bright);
  background: var(--surface-coral-soft);
}
.explainer-after {
  border-color: var(--border-accent);
}
.explainer-arrow {
  font-size: 2rem;
  color: var(--coral-bright);
  font-weight: 300;
  text-align: center;
}

.explainer-flow {
  text-align: center;
  margin-top: 8px;
}
.explainer-flow code {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.how-it-works {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.use-cases-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cta-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 640px) {
  .cta-grid-3 {
    grid-template-columns: 1fr;
  }
}

.get-involved {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.68s both;
}

.consulting {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.72s both;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.consulting .press-card {
  text-align: center;
}

/* === Pearl Playground === */

.pearl-playground {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.playground-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-subtle);
}
.playground-tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
}
.playground-tab:hover {
  color: var(--text-secondary);
}
.playground-tab.active {
  color: var(--coral-bright);
  border-bottom-color: var(--coral-bright);
  background: var(--surface-overlay);
}

.playground-body {
  padding: 20px;
}

.playground-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .playground-panels {
    grid-template-columns: 1fr;
  }
}

.playground-panel {
  min-height: 0;
}

.playground-panel-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.playground-table-wrap {
  max-height: 260px;
  overflow-y: auto;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}
.playground-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  font-family: var(--font-mono);
}
.playground-table th {
  position: sticky;
  top: 0;
  padding: 6px 10px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-weight: 600;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-subtle);
}
.playground-table td {
  padding: 5px 10px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.playground-table .row-denied {
  background: rgba(255, 80, 80, 0.06);
}
.playground-table .label-denied {
  color: #ff6b6b;
  font-weight: 600;
}
.playground-table .label-allowed {
  color: #51cf66;
  font-weight: 600;
}

.playground-rules-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.playground-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  transition: all 0.2s ease;
}
.playground-rule.rule-fired {
  border-color: rgba(255, 80, 80, 0.4);
  background: rgba(255, 80, 80, 0.08);
}
.playground-rule.rule-clear {
  border-color: rgba(81, 207, 102, 0.2);
}
.playground-rule-bit {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 36px;
}
.playground-rule-expr {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-primary);
  flex: 1;
}
.playground-rule-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-muted);
  transition: all 0.2s ease;
}
.indicator-fired {
  background: #ff6b6b;
  box-shadow: 0 0 8px rgba(255, 107, 107, 0.5);
}
.indicator-clear {
  background: #51cf66;
  box-shadow: 0 0 8px rgba(81, 207, 102, 0.3);
}

.playground-bitmask-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.playground-bitmask-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}
.playground-bit-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}
.bit-fired {
  background: rgba(255, 80, 80, 0.15);
  color: #ff6b6b;
  border-color: rgba(255, 80, 80, 0.4);
}
.bit-clear {
  background: rgba(81, 207, 102, 0.1);
  color: #51cf66;
  border-color: rgba(81, 207, 102, 0.2);
}

.playground-evaluator {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}
.playground-eval-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.playground-eval-hint {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.playground-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  margin-bottom: 20px;
}
@media (max-width: 640px) {
  .playground-sliders {
    grid-template-columns: 1fr;
  }
}
.playground-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.playground-slider-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  min-width: 120px;
  text-transform: capitalize;
}
@media (max-width: 640px) {
  .playground-slider-label {
    min-width: 100px;
  }
}
.playground-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--surface-interactive);
  outline: none;
  cursor: pointer;
}
.playground-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral-bright);
  cursor: pointer;
  box-shadow: 0 0 6px var(--shadow-coral-soft);
  transition: transform 0.15s ease;
}
.playground-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.playground-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--coral-bright);
  cursor: pointer;
  border: none;
}
.playground-slider-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--coral-bright);
  font-weight: 600;
  min-width: 60px;
  text-align: right;
}

.verdict {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 12px;
  flex-wrap: wrap;
}
.verdict-allowed {
  background: rgba(81, 207, 102, 0.08);
  border: 1px solid rgba(81, 207, 102, 0.25);
}
.verdict-denied {
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.25);
}
.verdict-icon {
  font-size: 1.3rem;
  font-weight: 700;
}
.verdict-allowed .verdict-icon {
  color: #51cf66;
}
.verdict-denied .verdict-icon {
  color: #ff6b6b;
}
.verdict-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}
.verdict-allowed .verdict-text {
  color: #51cf66;
}
.verdict-denied .verdict-text {
  color: #ff6b6b;
}
.verdict-detail {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}
.verdict-fired {
  width: 100%;
  margin-top: 8px;
}
.verdict-fired-rule {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ff6b6b;
  padding: 2px 0;
}
.verdict-error {
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(255, 200, 50, 0.08);
  border: 1px solid rgba(255, 200, 50, 0.25);
  color: #ffc832;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.playground-wasm-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
}

/* === Counterfactual hints === */
.verdict-fired-rule {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
}
.verdict-fired-expr {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ff6b6b;
}
.verdict-counterfactual {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--coral-bright);
  font-style: italic;
  padding-left: 12px;
}

/* === Guardrails demo === */
.guardrail-provenance {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.guardrail-provenance-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.guardrail-datasets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.guardrail-dataset-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-overlay);
  color: var(--text-muted);
}

.guardrail-examples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .guardrail-examples {
    grid-template-columns: 1fr;
  }
}
.guardrail-example {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}
.guardrail-example:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}
.example-safe {
  border-left: 3px solid #51cf66;
}
.example-attack {
  border-left: 3px solid #ff6b6b;
}
.guardrail-example-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.example-safe .guardrail-example-label {
  color: #51cf66;
}
.example-attack .guardrail-example-label {
  color: #ff6b6b;
}
.guardrail-example-text {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guardrail-input-wrap {
  margin-bottom: 16px;
}
.guardrail-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card-strong);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease;
}
.guardrail-input::placeholder {
  color: var(--text-muted);
}
.guardrail-input:focus {
  border-color: var(--coral-bright);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--coral-bright) 22%, transparent);
}

.guardrail-signals-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.guardrail-signal {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}
.guardrail-signal.signal-active {
  border-color: rgba(255, 80, 80, 0.3);
  background: rgba(255, 80, 80, 0.06);
}
.guardrail-signal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.guardrail-signal-dot.dot-active {
  background: #ff6b6b;
  box-shadow: 0 0 6px rgba(255, 107, 107, 0.5);
}
.guardrail-signal-name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  flex: 1;
}
.guardrail-signal-match {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--coral-bright);
  font-style: italic;
}

.playground-rule-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.playground-rule-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--coral-bright);
}
.playground-rule-message {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
}

/* === Guardrails layout v2 === */
.guardrail-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
@media (max-width: 640px) {
  .guardrail-details {
    grid-template-columns: 1fr;
  }
}
.guardrail-details-col {
  min-height: 0;
}

/* Example buttons v2 — not grey */
.guardrail-example {
  background: transparent;
  border-color: var(--border-subtle);
}
.example-safe {
  background: rgba(81, 207, 102, 0.04);
  border-color: rgba(81, 207, 102, 0.2);
}
.example-safe:hover {
  background: rgba(81, 207, 102, 0.1);
  border-color: rgba(81, 207, 102, 0.4);
}
.example-attack {
  background: rgba(255, 80, 80, 0.04);
  border-color: rgba(255, 80, 80, 0.2);
}
.example-attack:hover {
  background: rgba(255, 80, 80, 0.1);
  border-color: rgba(255, 80, 80, 0.4);
}

/* Compact rules for guardrails */
.guardrail-details .playground-rule {
  padding: 6px 10px;
}
.guardrail-details .playground-rule-bit {
  font-size: 0.7rem;
  min-width: 30px;
}
.guardrail-details .playground-rule-expr {
  font-size: 0.75rem;
}
.guardrail-details .playground-rule-label {
  font-size: 0.65rem;
}
.guardrail-details .playground-rule-message {
  font-size: 0.65rem;
}
.guardrail-details .playground-panel-title {
  font-size: 0.8rem;
  margin-bottom: 8px;
}

/* Compact signals */
.guardrail-details .guardrail-signal {
  padding: 4px 8px;
}
.guardrail-details .guardrail-signal-name {
  font-size: 0.7rem;
}
.guardrail-details .guardrail-signal-match {
  font-size: 0.65rem;
}

/* === Provenance v2 === */
.guardrail-provenance {
  padding: 16px 20px;
  margin: -20px -20px 20px;
  background: var(--surface-overlay);
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0;
}
.guardrail-provenance-header {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.guardrail-provenance-stat {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--coral-bright);
}
.guardrail-datasets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.guardrail-dataset-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
}
.guardrail-dataset-tag:hover {
  border-color: var(--coral-bright);
  color: var(--coral-bright);
  background: var(--surface-coral-soft);
}

/* === Readability fixes — boost contrast on dark backgrounds === */
.guardrail-provenance-header {
  color: var(--text-primary);
}
.guardrail-dataset-tag {
  color: var(--text-primary);
  border-color: var(--border-accent);
}
.guardrail-signal-name {
  color: var(--text-primary);
}
.guardrail-signal-match {
  color: var(--cyan-bright);
}
.guardrail-example-text {
  color: var(--text-primary);
}
.playground-rule-expr {
  color: var(--text-primary);
}
.playground-rule-message {
  color: var(--text-secondary);
}
.playground-slider-label {
  color: var(--text-primary);
}
.playground-table td {
  color: var(--text-primary);
}
.playground-eval-hint {
  color: var(--text-secondary);
}
.playground-bitmask-label {
  color: var(--text-secondary);
}
.verdict-detail {
  color: var(--text-secondary);
}
.quickstart-note,
.code-comment {
  color: var(--text-secondary);
}

/* Hero description — needs to be readable */
.description {
  color: var(--text-primary);
  opacity: 0.85;
}

/* Get Involved spacing */
.get-involved {
  margin-top: 24px;
}

/* CTA label centering */
.cta-label {
  text-align: center;
}

/* === Pipeline section === */
.pipeline-section {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.58s both;
}
.pipeline-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .pipeline-flow {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pipeline-arrow {
    transform: rotate(90deg);
    margin: 4px auto;
  }
}
.pipeline-step {
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
}
.pipeline-step-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--coral-bright);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-accent);
  margin-bottom: 8px;
}
.pipeline-step h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.pipeline-step p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}
.pipeline-step code,
.pipeline-step p code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.pipeline-step p code {
  color: var(--coral-bright);
  background: var(--surface-overlay);
  padding: 1px 5px;
  border-radius: 3px;
}
.pipeline-artifact {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan-bright);
  background: var(--bg-elevated);
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  text-align: center;
}
.pipeline-arrow {
  font-size: 1.4rem;
  color: var(--coral-bright);
  align-self: center;
  margin-top: 20px;
}
.pipeline-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pipeline fix: 2x2 grid instead of 7-col */
.pipeline-flow {
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.pipeline-arrow {
  display: none;
}
@media (max-width: 520px) {
  .pipeline-flow {
    grid-template-columns: 1fr;
  }
}

/* === Inline term tooltips === */
.term {
  color: var(--coral-bright);
  cursor: help;
  border-bottom: 1px dotted var(--coral-bright);
  position: relative;
}
.term:hover::after,
.term:focus::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: max-content;
  max-width: 260px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.5;
  font-style: normal;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  white-space: normal;
}
.term:hover::before,
.term:focus::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 12px;
  border: 6px solid transparent;
  border-top-color: var(--border-accent);
  z-index: 101;
  pointer-events: none;
}

/* === FAQ section === */
.faq-section {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
}
.faq-q {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-style: italic;
}
.faq-a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-a em {
  color: var(--coral-bright);
  font-style: normal;
  font-weight: 600;
}
.faq-a code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--coral-bright);
  background: var(--surface-overlay);
  padding: 1px 5px;
  border-radius: 3px;
}

/* === Counterfactual section === */
.counterfactual-section {
  margin-bottom: 56px;
  animation: fadeInUp 0.8s ease-out 0.56s both;
}
.counterfactual-intro {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
}
.counterfactual-intro em {
  color: var(--coral-bright);
  font-style: normal;
  font-weight: 600;
}
.counterfactual-example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 20px;
}
@media (max-width: 520px) {
  .counterfactual-example {
    grid-template-columns: 1fr;
  }
}
.cf-denied,
.cf-hints {
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  backdrop-filter: blur(12px);
}
.cf-denied {
  border-color: rgba(255, 80, 80, 0.25);
  background: rgba(255, 80, 80, 0.04);
}
.cf-hints {
  border-color: var(--border-accent);
  background: rgba(109, 220, 255, 0.04);
}
.cf-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.cf-label-denied {
  color: #ff6b6b;
  background: rgba(255, 80, 80, 0.12);
}
.cf-label-hint {
  color: var(--coral-bright);
  background: var(--surface-coral-soft);
}
.cf-rules {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-rule {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-primary);
}
.cf-rule code {
  font-size: 0.8rem;
  color: #ff6b6b;
  background: none;
  padding: 0;
}
.cf-hint {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--coral-bright);
  padding: 4px 0;
}
.counterfactual-note {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* WASM size badge */
.playground-wasm-size {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--cyan-bright);
  padding: 3px 8px;
  border-radius: 12px;
  border: 1px solid var(--border-accent);
  background: var(--surface-cyan-soft);
  margin-left: 12px;
  font-weight: 600;
}

/* === Font size bumps === */
.description {
  font-size: 1.1rem;
}
.feature-desc {
  font-size: 0.92rem;
}
.pipeline-step p {
  font-size: 0.88rem;
}
.counterfactual-intro {
  font-size: 1.05rem;
}
.counterfactual-note {
  font-size: 0.92rem;
}
.faq-a {
  font-size: 0.95rem;
}
.use-cases-intro {
  font-size: 1.05rem;
}
.press-quote {
  font-size: 0.9rem;
}
.explainer-flow code {
  font-size: 0.9rem;
}
