@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&display=swap');

@font-face {
  font-family: 'Trust 1A';
  src: url('/agents/assets/fonts/Trust1A-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Trust 1A';
  src: url('/agents/assets/fonts/Trust1A-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'Trust 1A';
  src: url('/agents/assets/fonts/Trust1A-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --tint-1: #FFFEFC;
  --tint-2: #FAF8F5;
  --tint-3: #F5F3F0;
  --tint-4: #E8E4DF;
  --tint-5: #CCC6BE;
  --tint-6: #5B5754;
  --black: #000C0C;
  --white: #FFFFFE;
  --moss-1: #DCEFE4;
  --moss-2: #44A266;
  --moss-3: #0E6738;
  --moss-4: #042C12;
  --cyanite-1: #EAF5F6;
  --cyanite-2: #127BAF;
  --fuchsia-1: #FFEBFE;
  --fuchsia-2: #9C267B;
  --claret-1: #FFECE5;
  --claret-3: #98062B;
  --font-body: 'Trust 1A', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; background: var(--tint-2); }

body {
  font-family: var(--font-body);
  background: var(--tint-1);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 16px;
  left: 32px;
  right: 32px;
  height: 52px;
  background: rgba(255, 254, 252, 0.85);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 24px;
  z-index: 1000;
}

.nav-logo { height: 28px; }
.nav-logo img { height: 100%; width: auto; }

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

.nav-link {
  font-size: 17px;
  line-height: 28px;
  color: var(--black);
  cursor: pointer;
  position: relative;
}

.nav-link:hover { opacity: 0.7; }

.nav-github {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--black);
}

.nav-github:hover { opacity: 0.7; }

.docs-dropdown {
  position: relative;
}

.docs-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-size: 17px;
  line-height: 28px;
  color: var(--black);
  background: none;
  border: none;
  font-family: var(--font-body);
}

.docs-trigger:hover { opacity: 0.7; }

.docs-trigger .chevron {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.docs-dropdown.open .docs-trigger .chevron { transform: rotate(180deg); }

.docs-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  min-width: 200px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
  pointer-events: none;
  visibility: hidden;
}

.docs-dropdown.open .docs-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.docs-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 17px;
  line-height: 28px;
  color: var(--black);
}

.docs-menu a:hover { background: var(--tint-2); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 16px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover { opacity: 0.85; }

.nav-links .btn-secondary-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 8px 16px;
  margin-right: -16px;
  background: #F5F3F0;
  color: var(--black);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  cursor: pointer;
  white-space: nowrap;
}

.nav-links .btn-secondary-nav:hover { background: #ECEAE6; }

/* Mobile nav */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 24px;
  height: 24px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 1.2px;
  background: var(--black);
  border-radius: 1px;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 76px;
  right: 12px;
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: 16px;
  z-index: 999;
  flex-direction: column;
  gap: 8px;
  width: fit-content;
  max-width: calc(100vw - 24px);
}

.mobile-menu.open { display: flex; }

.mobile-menu a, .mobile-menu-section-title {
  font-size: 17px;
  line-height: 40px;
  color: var(--black);
  display: block;
  text-align: right;
}

.mobile-menu-section-title {
  font-weight: 500;
  color: var(--tint-5);
  font-size: 13px;
  line-height: 28px;
  margin-top: 8px;
  font-family: var(--font-mono);
}

.mobile-menu .mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.mobile-menu .mobile-cta-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 16px;
  background: #F5F3F0;
  border-radius: 8px;
  font-size: 17px;
  line-height: 20px;
  font-weight: 400;
}

.mobile-menu .mobile-cta-secondary:hover { background: #ECEAE6; }

.mobile-menu .mobile-cta-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 8px 16px;
  background: var(--black);
  color: var(--white);
  border-radius: 8px;
  font-size: 17px;
  line-height: 20px;
  font-weight: 400;
}

.mobile-menu .mobile-cta-primary:hover { opacity: 0.85; }

/* ── Hero Banner ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0E6738;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg .mobile-hero { display: none; }

.hero-content {
  position: relative;
  z-index: 1;
  width: 50%;
  max-width: 680px;
}

.hero h1 {
  font-weight: 400;
  font-size: 64px;
  line-height: 72px;
  color: var(--white);
  margin-bottom: 24px;
  padding-top: 64px;
}

.hero h1.animate {
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.hero-subtitle {
  font-size: 19px;
  line-height: 32px;
  color: var(--white);
  margin-bottom: 40px;
}

.hero-subtitle.animate {
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

/* Agent prompt box */
.agent-prompt {
  background: rgba(255, 254, 252, 0.2);
  border: 1px solid rgba(220, 239, 228, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);
  box-shadow: 0 2px 30px rgba(14, 103, 56, 0.15);
  padding: 12px 24px 24px;
  text-align: left;
  position: relative;
}

.agent-prompt.animate {
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.agent-prompt-label {
  font-weight: 500;
  font-size: 15px;
  line-height: 32px;
  color: var(--tint-1);
}

.agent-prompt-text {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 25px;
  color: var(--white);
  margin-top: 12px;
}

.agent-prompt-text p { margin-bottom: 16px; }
.agent-prompt-text p:last-child { margin-bottom: 0; }

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.copy-btn:hover { background: rgba(255, 255, 255, 0.1); }
.copy-btn img { width: 24px; height: 24px; }

.hero .copy-btn img,
.render-hero .copy-btn img { filter: brightness(0) invert(1); }

.copy-btn .copied-label {
  position: absolute;
  right: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--black);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}

.copy-btn .copied-label.visible {
  opacity: 1;
}

.hero-scroll-hint {
  font-size: 17px;
  line-height: 32px;
  color: var(--moss-4);
  margin-top: 32px;
  text-align: center;
}

.hero-scroll-hint.animate {
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

/* ── Exec intro section ── */
.section-exec-intro {
  padding: 120px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-exec-intro-illustration {
  max-width: 960px;
  width: 100%;
}

.section-exec-intro-illustration img {
  width: 100%;
  height: auto;
  display: block;
}

.section-exec-intro-title {
  margin-top: 56px;
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  color: var(--black);
}

.section-exec-intro-body {
  margin-top: 24px;
  max-width: 700px;
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
}

.section-exec-intro-cta {
  margin-top: 32px;
}

.section-exec-intro-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 10px 20px 10px 24px;
  border-radius: 10px;
  background: var(--black);
  color: var(--white);
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  text-decoration: none;
}

.section-exec-intro-cta a svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ── Benchmark section ── */
.section-benchmark {
  padding: 192px 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-benchmark-title {
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  color: var(--black);
}

.section-benchmark-body {
  margin-top: 16px;
  max-width: 700px;
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
}

.section-benchmark-chart {
  margin-top: 56px;
  max-width: 910px;
  width: 100%;
}

.section-benchmark-chart img {
  width: 100%;
  height: auto;
  display: block;
}

.section-benchmark-caption {
  padding-top: 24px;
  font-size: 13px;
  line-height: 20px;
  color: #5B5754;
}

/* ── Sections ── */
.section {
  padding: 120px 32px;
  text-align: center;
}

.section-title {
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
}

.section-subtitle {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  margin-bottom: 56px;
}

/* ── Service Cards (Homepage) ── */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1376px;
  margin: 0 auto;
}

.service-card {
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  padding: 16px;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  min-height: 324px;
}

.service-card.animate {
  opacity: 0;
  animation: heroFadeIn 0.8s ease-in-out forwards;
}

.service-card.animate:nth-child(1) {
  animation-delay: 0.15s;
}

.service-card.animate:nth-child(2) {
  animation-delay: 0.3s;
}

.service-card.animate:nth-child(3) {
  animation-delay: 0.45s;
}

.service-card.animate:nth-child(4) {
  animation-delay: 0.6s;
}

.service-card:hover {
  border-color: var(--moss-2);
  box-shadow: 0 2px 28px rgba(68, 162, 102, 0.18);
}

.service-card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: auto;
}

.service-card-icon img { width: 100%; height: 100%; }

.service-card-command {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 24px;
  color: var(--tint-5);
  margin-bottom: 8px;
  transition: color 0.2s;
}

.service-card:hover .service-card-command { color: var(--moss-3); }

.service-card h3 {
  font-weight: 400;
  font-size: 21px;
  line-height: 28px;
  margin-bottom: 12px;
}

.service-card p:last-of-type {
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
}

/* ── Featured Service Card (Homepage) ── */
.service-card-featured {
  max-width: 1376px;
  margin: 0 auto;
  padding: 32px;
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.service-card-featured:hover {
  border-color: var(--moss-2);
  box-shadow: 0 2px 28px rgba(68, 162, 102, 0.18);
}

.service-card-featured h3 {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 12px;
}

.service-card-featured p:last-of-type {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  max-width: 720px;
}

/* ── Engines section ── */
.section-engines {
  padding-top: 192px;
}

.section-engines .service-cards {
  grid-template-columns: repeat(4, 1fr);
}

.service-card--static {
  cursor: default;
}

.service-card--static:hover {
  border-color: var(--tint-3);
  box-shadow: none;
}

/* ── Verify Loop ── */
.verify-section {
  max-width: 675px;
  margin: 0 auto;
  padding: 80px 0;
  text-align: center;
}

.verify-label {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  margin-bottom: 16px;
}

.verify-text {
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 48px;
}

.verify-text .muted { color: var(--tint-6); }

/* ── Steps ── */
.steps {
  max-width: 676px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--moss-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 15px;
  line-height: 20px;
  color: var(--moss-4);
  flex-shrink: 0;
  margin-top: 4px;
}

.step:first-child {
  background: #FAF8F5;
  border: none;
}

.step:first-child .step-number {
  background: #E8E4DF;
  color: #000C0C;
}

.step-content h4 {
  font-weight: 500;
  font-size: 17px;
  line-height: 28px;
  margin-top: 0;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 17px;
  line-height: 28px;
  color: var(--black);
}

.step-content code {
  font-family: var(--font-mono);
  font-size: 16px;
}

.step.animate {
  opacity: 0;
  animation: heroFadeIn 1s ease-out forwards;
}

.step.animate:nth-child(1) {
  animation-delay: 0.15s;
}

.step.animate:nth-child(2) {
  animation-delay: 0.3s;
}

.step.animate:nth-child(3) {
  animation-delay: 0.45s;
}

.step.animate:nth-child(4) {
  animation-delay: 0.6s;
}

.step.animate:nth-child(5) {
  animation-delay: 0.75s;
}

/* ── Carousel (Why Witan) ── */
.section:has(.carousel-wrapper) {
  padding-left: 0;
  padding-right: 0;
}

.section:has(.carousel-wrapper) > .section-title,
.section:has(.carousel-wrapper) > .section-subtitle {
  padding-left: 12px;
  padding-right: 12px;
}

.carousel-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 24px;
}

.carousel-wrapper::-webkit-scrollbar { display: none; }

.carousel {
  display: flex;
  gap: 24px;
  padding: 0 32px;
}

.carousel::after {
  content: '';
  min-width: 8px;
  flex-shrink: 0;
}

.carousel-card {
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  padding: 24px;
  width: 400px;
  min-width: 400px;
  flex-shrink: 0;
  text-align: left;
}

.carousel-card h3 {
  font-weight: 400;
  font-size: 21px;
  line-height: 36px;
  margin-bottom: 16px;
}

.carousel-card p {
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
}

.carousel-card a { text-decoration: underline; }

.carousel-card code {
  font-family: var(--font-mono);
  font-size: 14px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--moss-1);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s;
}

.carousel-dot:hover { background: var(--moss-2); }

.carousel-dot.active { background: var(--moss-4); }

/* ── Get Started (code block) ── */
.code-block-section {
  max-width: 676px;
  margin: 0 auto;
  padding: 80px 24px 0;
  text-align: center;
}

.code-block-section .section-subtitle {
  margin-bottom: 32px;
}

.code-block {
  background: var(--tint-2);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  padding: 24px;
  text-align: left;
  margin-top: 24px;
}

.code-block pre {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
  white-space: pre-wrap;
  word-break: break-all;
}

.code-block .comment { color: var(--tint-5); }

.install-link {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  text-decoration: underline;
  margin-top: 12px;
  display: inline-block;
}

.code-block-cta {
  padding-top: 32px;
}

.code-block-cta .btn-secondary {
  width: auto;
  display: inline-flex;
  gap: 8px;
}

.code-block-cta .btn-secondary svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ── FAQ ── */
.section-faq {
  padding-top: 192px;
}

.faq-accordions {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: left;
}

/* ── Footer ── */
.footer {
  background: var(--tint-2);
  padding: 24px 40px 24px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1376px;
  margin: 0 auto;
}

.footer-wordmark img {
  height: 120px;
  width: auto;
}

.footer-columns {
  display: flex;
  gap: 48px;
}

.footer-col a {
  display: block;
  font-size: 17px;
  line-height: 28px;
  padding: 4px 0;
}

.footer-col a:hover { opacity: 0.7; }

.footer-col-right { text-align: right; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  max-width: 1376px;
  margin: 24px auto 0;
}

.footer-bottom a {
  font-size: 17px;
  line-height: 28px;
}

.footer-copyright {
  display: block;
  font-size: 17px;
  line-height: 28px;
  padding: 16px 0 4px;
  color: var(--tint-5);
}

/* ── Inner Pages (shared) ── */
.inner-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.inner-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.inner-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
}

.inner-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}

.inner-hero-icon { width: 64px; height: 64px; }
.inner-hero-icon img { width: 100%; height: 100%; }

.inner-hero h1 {
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  color: var(--white);
}

.inner-hero .hero-subtitle {
  margin-top: 16px;
  margin-bottom: 0;
}

/* ── Render Hero ── */
.render-hero {
  padding-top: 116px;
  padding-bottom: 64px;
  position: relative;
  overflow: hidden;
}


@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.render-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 48px auto 80px auto;
  text-align: center;
  display: block;
}

.render-hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 48px;
}

.render-hero-icon.animate {
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}

.render-hero-icon img {
  width: 100%;
  height: 100%;
}

.hero-exec .render-hero-content {
  margin-top: 24px;
}

.hero-exec .render-hero-icon {
  width: 248px;
  height: 248px;
  margin: 0 auto 40px;
}

.page-content .exec-intro {
  font-size: 21px;
  line-height: 36px;
}

/* Engine tabs */
.engine-tabs {
  margin: 32px 0;
}

.engine-tab-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.engine-tab {
  padding: 10px 24px;
  border: 1px solid var(--tint-3);
  border-radius: 8px;
  background: var(--tint-1);
  color: var(--tint-6);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.engine-tab:hover {
  background: var(--tint-3);
}

.engine-tab.active {
  border: 1px solid var(--moss-2);
  background: var(--tint-1);
  color: var(--black);
  box-shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.05);
}

.engine-tab-content {
  display: none;
}

.engine-tab-content.active {
  display: block;
}

.render-hero h1 {
  font-weight: 400;
  font-size: 44px;
  line-height: 56px;
  color: var(--white);
  margin-bottom: 64px;
}

.render-hero h1.animate {
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.2s;
}

.hero-example-box {
  background: rgba(255, 254, 252, 0.20);
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);
  border-radius: 16px;
  border: 1px solid rgba(220, 239, 228, 0.30);
  padding: 12px 24px 24px 24px;
  text-align: left;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-render .hero-example-box {
  box-shadow: 0 2px 30px 0 rgba(18, 123, 175, 0.15);
}

.hero-calc .hero-example-box {
  box-shadow: 0 2px 30px 0 rgba(156, 38, 123, 0.15);
}

.hero-find .hero-example-box {
  box-shadow: 0 2px 30px 0 rgba(152, 6, 43, 0.15);
}

.hero-lint .hero-example-box {
  box-shadow: 0 2px 30px 0 rgba(152, 6, 43, 0.15);
}

.hero-install .hero-example-box {
  box-shadow: 0 2px 30px rgba(14, 103, 56, 0.15);
}

.hero-exec .hero-example-box {
  box-shadow: 0 2px 30px rgba(14, 103, 56, 0.15);
}

.hero-example-box.animate {
  opacity: 0;
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.3s;
}

.hero-example-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.example-label {
  font-size: 15px;
  line-height: 24px;
  color: var(--white);
  font-weight: 500;
  padding-bottom: 8px;
}

.hero-example-box pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 24px;
  color: var(--white);
  overflow-x: auto;
  padding-bottom: 12px;
}

.hero-example-box pre::-webkit-scrollbar {
  height: 8px;
}

.hero-example-box pre::-webkit-scrollbar-track {
  background: transparent;
}

.hero-example-box pre::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.hero-example-box pre::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-example-box code {
  font-family: var(--font-mono);
  color: var(--white);
}

/* ── Page Content (680px fixed) ── */
.page-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 80px 0;
}

.page-content h2 {
  font-weight: 400;
  font-size: 32px;
  line-height: 36px;
  margin-bottom: 32px;
  margin-top: 56px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content h3 {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 24px;
  margin-top: 40px;
}

h4 {
  font-weight: 500;
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 12px;
  margin-top: 24px;
}

.page-content p {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  margin-bottom: 16px;
}

.page-content p:last-child { margin-bottom: 0; }

.page-content code {
  font-family: var(--font-mono);
  font-size: 15px;
  background: var(--tint-2);
  padding: 2px 6px;
  border-radius: 4px;
}

.page-content pre {
  background: var(--tint-2);
  border: 1px solid var(--tint-3);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0;
  overflow-x: auto;
}

.page-content pre code {
  background: none;
  padding: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
}

/* ── Comparison Cards ── */
.comparison-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0 32px 0;
}

.comparison-card {
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  padding: 24px 16px;
}

.comparison-card h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  margin: 0 0 20px 0;
  color: var(--black);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  margin-bottom: 12px;
}

.comparison-list li:last-child {
  margin-bottom: 0;
}

.comparison-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Skill Cards ── */
.skill-cards {
  display: grid;
  grid-template-columns: 480px 480px;
  justify-content: center;
  gap: 24px;
  margin: 80px auto 80px auto;
  width: max-content;
  max-width: calc(100vw - 48px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.skill-card {
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
}

.skill-card h3 {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  margin: 0 0 8px 0;
  color: var(--black);
}

.skill-card-subtitle {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-5);
  margin: 0 0 16px 0;
}

.skill-card > p:not(.skill-card-subtitle) {
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
  margin: 0 0 16px 0;
}

.skill-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0 0 24px 0;
}

.skill-card li {
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
  margin-bottom: 4px;
}

.skill-card li:last-child {
  margin-bottom: 0;
}

.skill-card-links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
}

/* ── Workflow Steps ── */
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.workflow-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.workflow-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--moss-1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 17px;
  line-height: 1;
  color: var(--moss-4);
  flex-shrink: 0;
  margin-top: 2px;
}

.workflow-content {
  flex: 1;
  min-width: 0;
}

.workflow-content p {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  margin-bottom: 12px;
}

.workflow-content pre {
  background: var(--tint-2);
  border: 1px solid var(--tint-3);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 0 0;
  overflow-x: auto;
}

.workflow-content pre code {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
}

/* ── Accordion ── */
.accordion {
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  margin: 16px 0;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--tint-2);
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 28px;
  color: var(--black);
  text-align: left;
}

.accordion-trigger:hover { background: var(--tint-3); }

.accordion.open .accordion-trigger:hover { background: var(--tint-2); }

.accordion-trigger .chevron {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.accordion.open .accordion-trigger .chevron { transform: rotate(180deg); }

.accordion-body {
  display: none;
  padding: 0 20px 20px;
  background: var(--tint-2);
}

.accordion.open .accordion-body { display: block; }

.accordion-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  margin-bottom: 8px;
}

.accordion-body ul li:last-child {
  margin-bottom: 0;
}

.accordion-body ul li img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.accordion-body p {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
}

.accordion-body code {
  font-family: var(--font-mono);
  font-size: 15px;
}

.accordion-body pre {
  background: var(--tint-2);
  border: 1px solid var(--tint-3);
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
}

.accordion-body pre code {
  background: none;
  padding: 0;
}

/* ── Comparison Tables ── */
.comparisons-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 120px;
}

.ct-block {
  margin-bottom: 0;
}

.ct-block-title {
  font-weight: 400;
  font-size: 32px;
  line-height: 36px;
  color: var(--black);
  margin-bottom: 24px;
}

.ct-table-wrap {
  overflow-x: auto;
  border-left: 1px solid var(--tint-3);
  border-right: 1px solid var(--tint-3);
}

.ct-block:first-child .ct-table-wrap {
  border-top: 1px solid var(--tint-3);
  border-radius: 16px 16px 0 0;
}

.ct-block:last-child .ct-table-wrap {
  border-bottom: 1px solid var(--tint-3);
  border-radius: 0 0 16px 16px;
}

.ct-block:first-child:last-child .ct-table-wrap {
  border-radius: 16px;
}

.ct-block:first-child .ct-table thead th:first-child {
  border-top-left-radius: 16px;
}

.ct-block:first-child .ct-table thead th:last-child {
  border-top-right-radius: 16px;
}

.ct-block:last-child .ct-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 16px;
}

.ct-block:last-child .ct-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 16px;
}

.ct-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 700px;
  table-layout: fixed;
}

.ct-table thead th {
  text-align: center;
  padding: 16px 20px;
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
  color: var(--black);
  background: var(--tint-2);
  white-space: nowrap;
  width: 12%;
}

.ct-table thead th.ct-feature-col {
  text-align: left;
  width: 52%;
}

.ct-render thead th { background: rgba(220, 239, 228, 0.5); border-top: 1px solid #DCEFE4; border-bottom: 1px solid #DCEFE4; }
.ct-calc thead th { background: rgba(255, 235, 254, 0.5); border-top: 1px solid #FFEBFE; border-bottom: 1px solid #FFEBFE; }
.ct-lint thead th { background: rgba(255, 236, 229, 0.5); border-top: 1px solid #FFECE5; border-bottom: 1px solid #FFECE5; }

.ct-table tbody td {
  padding: 12px 20px;
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  border-bottom: 1px solid var(--tint-3);
  text-align: center;
  vertical-align: middle;
}

.ct-table tbody tr:last-child td {
  border-bottom: none;
}

.ct-table tbody td:first-child {
  text-align: left;
  color: var(--black);
  font-weight: 400;
}

.ct-table tbody td:nth-child(2) {
  background: #FAF8F5;
}

.ct-table tbody tr:hover td {
  background: var(--tint-2);
}

.ct-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .comparisons-section {
    padding: 48px 24px 80px;
  }

  .ct-block-title {
    font-size: 26px;
    line-height: 32px;
  }
}

@media (max-width: 768px) {
  .comparisons-section {
    padding: 32px 12px 64px;
  }

  .ct-table thead th {
    padding: 12px 16px;
    font-size: 13px;
  }

  .ct-table tbody td {
    padding: 10px 16px;
    font-size: 13px;
    line-height: 20px;
  }

  .ct-icon {
    width: 20px;
    height: 20px;
  }
}

/* ── Pricing ── */
/* ── Pricing Hero ── */
.pricing-hero {
  background: var(--tint-2);
  text-align: center;
  padding: 140px 32px 88px;
}

.pricing-hero-title {
  font-weight: 400;
  font-size: 44px;
  line-height: 56px;
  color: var(--black);
  margin-bottom: 24px;
}

.pricing-hero-subtitle {
  font-size: 19px;
  line-height: 32px;
  color: var(--black);
  max-width: 676px;
  margin: 0 auto;
}

/* ── Pricing Section ── */
.pricing-section {
  padding: 48px 32px 120px;
  max-width: 1440px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  border-color: var(--moss-2);
  box-shadow: 0 2px 28px rgba(68, 162, 102, 0.18);
}

.pricing-card-header {
  margin-bottom: 24px;
  flex: 1;
}

.pricing-tier {
  font-size: 32px;
  line-height: 36px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
}

.pricing-range {
  font-weight: 400;
}

.pricing-desc {
  font-size: 17px;
  line-height: 28px;
  font-weight: 400;
  color: var(--black);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pricing-feature strong {
  font-weight: 500;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 17px;
  line-height: 28px;
  color: var(--black);
}

.feature-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-cta {
  margin-top: 32px;
}

.btn-pricing-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  cursor: pointer;
  text-align: center;
}

.btn-pricing-primary:hover { opacity: 0.85; }

.btn-pricing-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  background: transparent;
  color: var(--black);
  border: 1px solid var(--tint-5);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  line-height: 24px;
  cursor: pointer;
  text-align: center;
}

.btn-pricing-secondary:hover { background: var(--tint-2); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  padding: 8px 16px;
  background: transparent;
  color: var(--black);
  border: 1px solid var(--tint-3);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
}

.btn-secondary:hover { background: var(--tint-2); }

/* ── Legal Pages ── */
/* ── Legal Hero ── */
.legal-hero {
  background: var(--tint-2);
  text-align: left;
  padding: 140px 32px 88px;
}

.legal-hero-title {
  font-weight: 400;
  font-size: 44px;
  line-height: 56px;
  color: var(--black);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.legal-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal-content h1 {
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  margin-bottom: 8px;
}

.legal-content .last-updated {
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-5);
  margin-bottom: 48px;
}

.legal-content h2 {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
  margin-top: 48px;
  margin-bottom: 16px;
}

.legal-content p {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 17px;
  line-height: 28px;
  color: var(--tint-6);
  margin-bottom: 4px;
}

/* ── Install page specifics ── */
.install-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.install-option {
  background: var(--tint-2);
  border: 1px solid var(--tint-3);
  border-radius: 12px;
  padding: 20px 24px;
}

.install-option h4 {
  font-weight: 500;
  font-size: 17px;
  line-height: 28px;
  margin-bottom: 8px;
}

.install-option pre {
  background: var(--tint-1);
  border: 1px solid var(--tint-3);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0;
}

.install-option pre code {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
}

.install-option p {
  font-size: 15px;
  line-height: 24px;
  color: var(--tint-6);
}

/* ── Info box ── */
.info-box {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: var(--cyanite-1);
  border-radius: 12px;
  margin: 16px 0;
  align-items: flex-start;
}

.info-box img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-box p {
  font-size: 15px;
  line-height: 24px;
  color: var(--black);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .service-cards,
  .section-engines .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .pricing-hero {
    padding: 80px 24px 60px;
  }

  .pricing-hero-title {
    font-size: 36px;
    line-height: 44px;
  }

  .pricing-hero-subtitle {
    font-size: 17px;
    line-height: 28px;
  }

  .pricing-section {
    padding: 48px 24px 80px;
  }

  .carousel-card { min-width: 340px; }
}

@media (max-width: 1140px) {
  .hero-content {
    width: 75%;
  }

  .render-hero-content {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .nav {
    left: 12px;
    right: 12px;
    top: 12px;
  }

  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .mobile-menu-section-title {
    display: none;
  }
  .mobile-menu-section-title + a {
    border-top: 1px solid var(--tint-3);
  }
  .mobile-menu-section-title + a + a + a {
    border-bottom: 1px solid var(--tint-3);
  }

  .mobile-menu a[href="https://docs.witan.ai"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 8px 16px;
    background: var(--black);
    color: var(--white);
    border-radius: 8px;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    margin-top: 8px;
  }

  .hero { height: 100vh; padding: 120px 12px 40px; }
  .hero h1 { font-size: 32px; line-height: 40px; padding-top: 0; }
  .hero-subtitle { font-size: 17px; line-height: 28px; }
  .hero-content { width: 100%; }

  .section-exec-intro { padding: 80px 16px 80px; }
  .section-exec-intro-title { font-size: 28px; line-height: 32px; }
  .section-exec-intro-body { font-size: 15px; line-height: 24px; max-width: 90vw; }

  .section-benchmark { padding: 80px 16px 80px; }
  .section-benchmark-title { font-size: 28px; line-height: 32px; }
  .section-benchmark-body { font-size: 15px; line-height: 24px; max-width: 90vw; }
  .section-benchmark-chart { max-width: none; margin-top: 24px; margin-left: -16px; margin-right: -16px; width: calc(100% + 32px); }

  .render-hero {
    padding-top: 116px;
    padding-bottom: 64px;
    overflow: hidden;
  }

  .render-hero-content {
    max-width: 100%;
    margin: 48px auto 80px auto;
    padding: 0 12px;
  }

  .render-hero-icon {
    margin-bottom: 32px;
  }

  .render-hero h1 {
    font-size: 26px !important;
    line-height: 36px !important;
    margin-bottom: 32px;
  }

  .render-hero h1 br {
    display: none;
  }

  .hero-example-box {
    padding: 12px 16px 16px 16px;
  }

  .hero-example-box pre {
    font-size: 13px;
    line-height: 20px;
    overflow-x: auto;
    padding-bottom: 12px;
  }

  .hero-example-box pre::-webkit-scrollbar {
    height: 8px;
  }

  .hero-example-box pre::-webkit-scrollbar-track {
    background: transparent;
  }

  .hero-example-box pre::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
  }

  .hero-example-box pre::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
  }

  .example-label {
    font-size: 13px;
    line-height: 20px;
  }

  .engine-tab-bar {
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .engine-tab {
    padding: 8px 16px;
    font-size: 13px;
    white-space: nowrap;
  }

  .engine-tab-bar {
    margin-bottom: 24px;
  }

  .hero-bg .desktop-hero { display: none; }
  .hero-bg .mobile-hero {
    display: block;
    object-fit: cover;
    object-position: center;
    width: 100.5%;
    height: 100.5%;
    margin-left: -0.25%;
    margin-top: -0.25%;
  }

  .section { padding: 80px 12px 80px; }
  .section-title { font-size: 28px; line-height: 32px; }

  h2 {
    font-size: 28px !important;
    line-height: 32px !important;
    font-weight: 400 !important;
  }

  .section-engines .section-subtitle,
  .section:not(.section-engines):not(.section-faq) .section-subtitle {
    margin-bottom: 24px;
  }

  h3 {
    font-size: 21px !important;
    line-height: 28px !important;
    font-weight: 400 !important;
  }

  h4 {
    font-size: 17px !important;
    line-height: 28px !important;
    font-weight: 500 !important;
  }

  .comparison-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
  }

  .comparison-card {
    padding: 20px 16px;
  }

  .comparison-card h3 {
    font-size: 18px;
    line-height: 24px;
    margin: 0 0 16px 0;
  }

  .skill-cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
    width: auto;
    max-width: none;
    position: static;
    left: auto;
    transform: none;
  }

  .skill-card {
    padding: 24px 16px;
  }

  .comparison-list li {
    font-size: 15px;
    line-height: 24px;
    gap: 10px;
    margin-bottom: 10px;
  }

  .comparison-icon {
    width: 20px;
    height: 20px;
    margin-top: 2px;
  }

  .service-cards,
  .section-engines .service-cards {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .service-card {
    display: grid;
    grid-template-columns: 64px 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 16px;
    align-items: start;
    min-height: auto;
  }

  .service-card-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    margin-bottom: 0;
    grid-row: 1 / 3;
  }

  .service-card-command {
    grid-column: 2;
    grid-row: 1;
  }

  .service-card h3 {
    grid-column: 2;
    grid-row: 2;
  }

  .service-card p:last-of-type {
    grid-column: 1 / -1;
    grid-row: 3;
    padding-top: 12px;
  }

  .carousel-card {
    width: calc(100vw - 24px);
    min-width: calc(100vw - 24px);
    margin: 0;
  }
  .carousel-card:first-child { margin-left: 0; }
  .carousel-card:last-child { margin-right: 0; }
  .carousel {
    gap: 16px;
    padding: 0 12px;
    scroll-snap-type: x mandatory;
  }
  .carousel-card {
    scroll-snap-align: start;
  }
  .carousel-wrapper {
    padding: 0 0 16px;
    margin-left: 0;
    margin-right: 0;
    scroll-behavior: smooth;
    scroll-snap-stop: always;
  }

  .verify-section { padding: 80px 12px 80px; }
  .verify-text { font-size: 19px; line-height: 28px; }

  .steps { padding: 0; }

  .code-block-section { padding: 80px 12px 80px; }
  .code-block-section .section-subtitle { margin-bottom: 24px; }

  .section-faq { padding: 80px 12px 80px; }
  .faq-accordions { margin-top: 32px; }

  .footer { padding: 24px 12px; margin-top: 56px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-wordmark img { height: 64px; }
  .footer-columns { flex-direction: row; justify-content: space-between; width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .inner-hero h1 { font-size: 36px; line-height: 40px; }

  .page-content { padding: 32px 16px; }
  .page-content table { table-layout: fixed; word-break: break-word; }
  .page-content table code { word-break: break-all; }

  .workflow-number {
    width: 24px;
    height: 24px;
    font-size: 15px;
  }

  .workflow-content p {
    font-size: 15px;
    line-height: 24px;
  }

  .workflow-content pre {
    padding: 16px;
    overflow-x: auto;
  }

  .workflow-content pre code {
    font-size: 13px;
    line-height: 20px;
  }

  .legal-content { padding: 48px 16px 48px; }
  .legal-content h1 { font-size: 36px; line-height: 40px; }
}

/* ── Light version: dark-mode hero content ── */
.render-hero {
  width: 100%;
  left: 0;
  right: 0;
}

.render-hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.render-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.render-hero h1 {
  color: var(--black);
}

.example-label {
  color: var(--black);
}

.hero-example-box {
  background: rgba(255, 254, 252, 0.20);
  border: 1px solid rgba(220, 239, 228, 0.30);
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);
}

.hero-example-box pre {
  color: var(--black);
}

.hero-example-box code {
  color: var(--black);
}

.hero-example-box pre::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.7);
}

.hero-example-box pre::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 1);
}

.render-hero .copy-btn img,
.hero .copy-btn img {
  filter: brightness(0);
}

.hero h1 {
  color: var(--black);
}

.hero-subtitle {
  color: var(--black);
}

.agent-prompt-label {
  color: var(--black);
}

.agent-prompt-text {
  color: var(--black);
}

.agent-prompt {
  background: rgba(255, 254, 252, 0.20);
  border: 1px solid rgba(220, 239, 228, 0.30);
  backdrop-filter: blur(6.5px);
  -webkit-backdrop-filter: blur(6.5px);
}

/* ── Machine Mode ── */
.machine-only { display: none; }

body[data-mode="machine"] {
  background: var(--tint-2);
  color: #5B5754;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.5;
}

body[data-mode="machine"] .nav,
body[data-mode="machine"] .mobile-menu,
body[data-mode="machine"] .hero,
body[data-mode="machine"] .inner-hero,
body[data-mode="machine"] .section,
body[data-mode="machine"] .section-exec-intro,
body[data-mode="machine"] .section-benchmark,
body[data-mode="machine"] .verify-section,
body[data-mode="machine"] .code-block-section,
body[data-mode="machine"] .page-content,
body[data-mode="machine"] .comparisons-section,
body[data-mode="machine"] .pricing-hero,
body[data-mode="machine"] .pricing-section,
body[data-mode="machine"] .footer {
  display: none;
}

body[data-mode="machine"] .machine-only {
  display: block;
}

.md-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.md-content pre {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.6;
  color: #5B5754;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
  background: none;
  border: none;
  padding: 0;
}

.md-content a {
  color: #5B5754;
  text-decoration: underline;
  text-decoration-color: #CCC6BE;
  text-underline-offset: 2px;
}

.md-content a:hover {
  color: #000c0c;
  text-decoration-color: #5B5754;
}

/* ── Mode Toggle ── */
.mode-toggle {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  gap: 16px;
  padding: 6px 12px;
  background: #F5F3F0;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #CCC6BE;
  transition: color 0.15s;
}

.mode-btn:hover {
  color: #000c0c;
}

.mode-btn.active {
  color: #000c0c;
}

.mode-btn[data-mode="human"] {
  font-family: var(--font-body);
}

.mode-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid currentColor;
  transition: background 0.15s;
}

.mode-btn.active .mode-dot {
  background: currentColor;
}
