:root {
  color-scheme: light;
  --bg: #fafaf8;
  --surface: #fff;
  --soft: #f1f1ee;
  --ink: #22231f;
  --muted: #696b63;
  --line: #e2e3dc;
  --accent: #626d48;
  --accent-soft: #edf0e6;
  --shadow: 0 2px 4px #22231f04, 0 18px 60px #22231f0c;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 100px;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
button,
select {
  touch-action: manipulation;
}
button svg,
a svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
p {
  text-wrap: pretty;
}
h1,
h2,
h3 {
  text-wrap: balance;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #dce4cb;
  color: #22231f;
}
.wrap {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 40px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 27px;
  font-weight: 690;
  letter-spacing: -1.2px;
  line-height: 1;
}
.brand-mark {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand .brand-mark {
  margin-inline-end: 10px;
}
.brand-dot {
  color: var(--accent);
}
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links {
  font-size: 13px;
  margin-inline-start: auto;
  margin-inline-end: 18px;
}
.nav-links a {
  color: var(--muted);
}
.nav-links a:hover,
.text-link:hover,
footer a:hover {
  color: var(--accent);
}
.nav-actions {
  gap: 15px;
}
.language-picker {
  position: relative;
  flex-shrink: 0;
}
.language-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  background: var(--soft);
  color: var(--ink);
}
.language-trigger .language-globe {
  width: 16px;
  height: 16px;
}
.language-trigger .language-chevron {
  width: 12px;
  height: 12px;
}
.language-trigger[aria-expanded="true"] .language-chevron {
  rotate: 180deg;
}
.language-picker[aria-busy="true"] .language-globe {
  opacity: 0.4;
}
.language-menu {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 8px);
  width: 192px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow:
    0 4px 8px #00000008,
    0 16px 40px #00000014;
}
.language-menu[hidden] {
  display: none;
}
.language-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  text-align: start;
}
.language-menu button:hover,
.language-menu button:focus-visible {
  background: var(--soft);
  color: var(--ink);
}
.language-menu button:focus-visible {
  outline-offset: -2px;
}
.language-menu button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--ink);
}
.language-check {
  visibility: hidden;
  color: var(--accent);
}
[aria-pressed="true"] .language-check {
  visibility: visible;
}
.language-status {
  padding: 8px 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.language-status:empty {
  display: none;
}
.nav-links a,
.nav-actions > .button {
  white-space: nowrap;
}
.icon-button {
  display: grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  border: 0;
  background: transparent;
  border-radius: 8px;
}
.icon-button:hover {
  background: var(--soft);
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 47px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  padding: 11px 19px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  font-weight: 550;
}
.button:hover {
  opacity: 0.85;
}
.button-small {
  min-height: 38px;
  padding: 7px 13px;
  font-size: 12px;
}
.menu-toggle {
  display: none;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  padding-block: 91px 66px;
}
.eyebrow {
  color: var(--muted);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.hero-eyebrow {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 1.15px;
  margin-bottom: 25px;
}
.status-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
h1 {
  font-size: clamp(40px, 4.5vw, 59px);
  font-weight: 560;
  line-height: 1.13;
  letter-spacing: -2.9px;
}
h1 > span {
  color: #909384;
}
.hero-description {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 390px;
  margin-top: 24px;
}
.hero-copy {
  min-width: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-top: 29px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  font-weight: 500;
  min-height: 40px;
}
.hero-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.15px;
}
.hero-meta span {
  margin-inline: 7px;
}
.demo-scene {
  min-width: 0;
  padding-top: 7px;
}
.preview-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 17px;
}
.stack-hint {
  color: var(--muted);
  font-size: 9px;
}
.card-stack {
  --card-offset: 104px;
  display: grid;
  isolation: isolate;
  padding-bottom: 24px;
  padding-inline-end: var(--card-offset);
}
.card-stack > .terminal {
  grid-area: 1 / 1;
  width: 100%;
  min-width: 0;
  transform: none;
  transform-origin: center;
}
.card-stack > [data-stack-position="front"] {
  z-index: 2;
  translate: 0 24px;
  rotate: -1deg;
}
.card-stack > [data-stack-position="back"] {
  z-index: 1;
  translate: var(--card-offset) 0;
  rotate: 1.5deg;
  cursor: pointer;
}
.card-stack > [data-stack-position="back"]:hover {
  border-color: var(--accent);
}
.card-select {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
  min-height: 42px;
  padding: 0 0 0 13px;
  border: 0;
  background: transparent;
  font: inherit;
  text-align: start;
}
.card-select:focus-visible {
  outline-offset: -3px;
  border-radius: 4px;
}
.card-select strong {
  color: var(--ink);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 550;
}
.card-agent-icon {
  font-size: 17px;
  color: #ba7757;
}
[data-preview="pi"] .card-agent-icon {
  color: var(--accent);
  font:
    600 19px Georgia,
    serif;
}
.card-path {
  margin-inline-start: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 8px;
}
.card-select-hint {
  margin-inline-start: auto;
  color: var(--accent);
  font-size: 14px;
}
[data-stack-position="front"] .card-select-hint {
  visibility: hidden;
}
@media (min-width: 781px) {
  [data-stack-position="back"] .card-select {
    justify-content: flex-end;
    gap: 5px;
  }
  [data-stack-position="back"] .card-select strong {
    max-width: 58px;
    white-space: normal;
    line-height: 1.35;
    font-size: 9px;
  }
  [data-stack-position="back"] .card-path,
  [data-stack-position="back"] .card-select-hint {
    display: none;
  }
}
@media (min-width: 781px) and (max-width: 1000px) {
  .card-stack {
    --card-offset: 86px;
  }
}
@media (max-width: 780px) {
  .card-stack {
    --card-offset: 17px;
    padding-bottom: 48px;
  }
  .card-stack > [data-stack-position="front"] {
    translate: 0 48px;
  }
  .card-stack > [data-stack-position="back"] {
    rotate: 1deg;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .card-stack.is-switching > .terminal {
    transition:
      translate 0.35s ease,
      rotate 0.35s ease,
      border-color 0.15s ease;
  }
}
@media (max-width: 480px) {
  .preview-toolbar {
    gap: 4px;
  }
  .stack-hint,
  .scene-caption {
    font-size: 8px;
  }
  .card-path {
    display: none;
  }
  .card-stack > [data-stack-position="front"] {
    rotate: -0.6deg;
  }
  .card-stack > [data-stack-position="back"] {
    rotate: 0.6deg;
  }
}
.scene-caption {
  color: var(--muted);
  font-size: 9px;
}
.terminal[data-preview="pi"] .terminal-title {
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
}
.terminal[data-preview="pi"] [id^="preview-agent-icon"] {
  color: var(--accent);
  font:
    600 33px Georgia,
    serif;
  width: 30px;
  text-align: center;
}
.terminal[data-preview="pi"] .terminal-input {
  border-block-color: var(--accent);
}
.terminal[data-preview="pi"] .assistant-bullet {
  color: var(--accent);
}
.terminal {
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  transform: rotate(-1deg);
}
.terminal-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
  min-height: 36px;
  padding-inline: 14px;
  color: var(--muted);
  font: 9px var(--mono);
}
.window-dots {
  display: flex;
  gap: 5px;
}
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cccfc5;
}
.window-dots i:first-child {
  background: #d7b5a9;
}
.window-dots i:nth-child(2) {
  background: #d9c89b;
}
.window-dots i:nth-child(3) {
  background: #b1c4a2;
}
.terminal-title-icon {
  font-size: 13px;
}
.terminal-body {
  padding: 23px 21px 11px;
  font: 11px/1.75 var(--mono);
}
.agent-heading {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 27px;
}
.claude-symbol {
  font-size: 30px;
  line-height: 1;
  color: #ba7757;
}
.agent-heading strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
}
.agent-heading small {
  display: block;
  font-size: 9px;
  color: var(--muted);
}
.active-badge {
  margin-inline-start: auto;
  font-size: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  padding: 3px 6px;
  border-radius: 4px;
}
.terminal-message {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.terminal-message > div {
  min-width: 0;
}
.prompt-symbol {
  color: var(--accent);
  font-size: 15px;
}
.prompt-translation {
  font-size: 10px;
  color: var(--muted);
  margin-top: 7px;
}
.prompt-translation span {
  margin-inline-end: 4px;
}
.assistant-bullet {
  font-size: 8px;
  padding-top: 3px;
}
.reply-translation {
  margin-top: 8px;
  padding-inline-start: 11px;
  border-inline-start: 2px solid #c5cfb2;
  color: var(--accent);
  font-size: 10px;
}
.code-preview {
  background: var(--soft);
  padding: 12px 15px;
  margin-inline-start: 18px;
  border-radius: 5px;
  white-space: pre;
  font-size: 10px;
  line-height: 1.8;
}
.code-purple {
  color: #8d7095;
}
.code-green {
  color: #697d48;
}
.terminal-input {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 21px;
  padding-block: 10px;
  border-block: 1px solid var(--line);
  color: var(--muted);
}
.input-placeholder {
  font-size: 9px;
}
.cursor {
  height: 12px;
  width: 5px;
  background: #a5ab98;
  margin-inline-start: auto;
}
.terminal-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  font-size: 8px;
  color: var(--muted);
}
.terminal-bottom > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.terminal-bottom i {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}
.terminal-bottom button {
  font: inherit;
  color: inherit;
  padding: 6px 0;
  min-height: 25px;
  background: none;
  border: 0;
}
kbd {
  font: inherit;
  font-family: var(--mono);
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 0.85em;
}
.terminal-bottom kbd {
  border: 0;
  padding: 0;
}
.demo-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
  margin-top: 19px;
}
.language-options {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}
.language-options button {
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 4px 8px;
  min-height: 30px;
  font-size: 10px;
  background: transparent;
  color: var(--muted);
}
.language-options button[aria-pressed="true"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}
.preview-label {
  margin-inline-start: auto;
  font-size: 8px;
}
.compatibility {
  padding-block: 28px 33px;
  text-align: center;
  border-block: 1px solid var(--line);
}
.compatibility > span {
  font-size: 10px;
  color: var(--muted);
}
.compatibility > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.compatibility strong {
  font-size: 14px;
  font-weight: 550;
}
.claude-logo {
  color: #b87d60;
  font-size: 26px;
  line-height: 1;
}
.pi-logo {
  font-family: Georgia, serif;
  font-size: 26px;
  font-weight: 700;
}
.compatibility-plus {
  margin-inline: 21px;
  color: #a5a79e;
  font-size: 13px;
}
.compatibility-divider {
  height: 17px;
  width: 1px;
  background: var(--line);
  margin-inline: 21px;
}
.compatibility-detail {
  font-size: 11px;
  color: var(--muted);
}
.section {
  padding-top: 93px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 38px;
}
h2 {
  font-size: 37px;
  letter-spacing: -1.5px;
  line-height: 1.2;
  font-weight: 550;
}
.section-heading .eyebrow,
.install-intro .eyebrow {
  margin-bottom: 14px;
}
.section-heading > p {
  max-width: 360px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  padding-bottom: 4px;
}
.flow-diagram {
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 35px 1fr 35px 1fr;
  padding: 30px 25px;
  background: var(--surface);
  align-items: center;
}
.flow-node {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 12px 0;
}
.flow-icon {
  height: 36px;
  font-size: 25px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 12px;
}
.terminal-icon {
  font: 24px var(--mono);
}
.flow-node strong {
  font-size: 13px;
  font-weight: 550;
}
.flow-node > span:not(.flow-icon) {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
}
.flow-example {
  font: 10px/1.6 var(--mono);
  margin-top: 21px;
  border-radius: 5px;
  background: var(--soft);
  padding: 8px 12px;
}
.flow-arrow {
  text-align: center;
  font-size: 23px;
  color: #b3b7a7;
}
.flow-center .brand-mark {
  color: var(--accent);
  margin-bottom: 16px;
  width: 34px;
  height: 32px;
}
.flow-node .flow-tag {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 5px 10px;
  margin-top: 22px !important;
  font-size: 9px !important;
}
.flow-footnote {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin-top: 18px;
}
.flow-footnote svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.3;
  flex-shrink: 0;
}
.features-section {
  padding-top: 91px;
}
.features-section .section-heading {
  margin-bottom: 34px;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.feature-grid article {
  padding: 30px 28px 30px 0;
}
.feature-grid article:nth-child(3n + 2) {
  padding-inline: 28px;
  border-inline: 1px solid var(--line);
}
.feature-grid article:nth-child(3n) {
  padding-inline: 28px 0;
}
.feature-grid article:nth-child(-n + 3) {
  border-bottom: 1px solid var(--line);
}
.feature-icon {
  height: 27px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 19px;
  margin-bottom: 17px;
}
.feature-icon > span {
  font-size: 12px;
}
.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h3 {
  font-size: 15px;
  letter-spacing: -0.25px;
  font-weight: 550;
  margin-bottom: 9px;
}
.feature-grid p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 29ch;
}
.install-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 65px;
  padding-block: 94px;
}
.install-intro h2 {
  font-size: 33px;
}
.install-intro > p:not(.eyebrow) {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
  margin-top: 19px;
}
.install-intro .text-link {
  margin-top: 18px;
  font-size: 11px;
}
.install-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  align-self: center;
  overflow: hidden;
  box-shadow: 0 3px 8px #22231f03;
}
.install-tabs {
  display: flex;
  gap: 21px;
  padding-inline: 21px;
  border-bottom: 1px solid var(--line);
}
.install-tabs button {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 15px 0 12px;
  color: var(--muted);
  font-size: 11px;
}
.install-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--ink);
  color: var(--ink);
}
.install-tabs button > span {
  font-size: 18px;
}
.install-content {
  padding: 19px 20px;
}
.install-command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}
.copy-button {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 5px 7px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  min-height: 30px;
  font-size: 9px;
}
.copy-button svg {
  width: 12px;
  height: 12px;
}
pre {
  margin: 14px 0;
  font: 10px/2 var(--mono);
  background: var(--soft);
  padding: 13px;
  overflow: auto;
  border-radius: 5px;
  min-height: 67px;
}
code {
  font-family: var(--mono);
}
.install-content > p {
  font-size: 9px;
  color: var(--muted);
}
.install-next {
  display: flex;
  gap: 9px;
  font-size: 10px;
  padding-top: 15px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.install-next > span:first-child {
  color: var(--accent);
}
.faq-section {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  column-gap: 50px;
  padding-block: 47px 50px;
  border-top: 1px solid var(--line);
}
.faq-section > .eyebrow {
  grid-column: 1;
  align-self: end;
}
.faq-section > h2 {
  grid-column: 1;
  margin-top: 11px;
  align-self: start;
  font-size: 31px;
}
.faq-list {
  grid-column: 2;
  grid-row: 1 / span 2;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding-block: 16px;
}
.faq-list details:first-child {
  padding-top: 0;
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 12px;
  font-weight: 500;
  min-height: 26px;
  align-items: center;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary > span {
  color: var(--muted);
  font-size: 17px;
  font-weight: 400;
}
.faq-list details[open] summary > span {
  transform: rotate(45deg);
}
.faq-list p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  padding-block: 13px 4px;
  padding-inline-end: 26px;
}
.closing {
  text-align: center;
  padding-block: 69px 78px;
}
.closing > .brand-mark {
  color: var(--accent);
  width: 35px;
  height: 38px;
  margin-bottom: 19px;
}
.closing h2 {
  font-size: 43px;
  letter-spacing: -1.8px;
}
.closing p {
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.closing .button {
  margin-top: 26px;
  font-size: 12px;
}
.closing-note {
  display: block;
  font-size: 9px;
  color: var(--muted);
  margin-top: 16px;
}
footer {
  border-top: 1px solid var(--line);
  min-height: 91px;
  display: flex;
  align-items: center;
  gap: 22px;
}
footer .brand {
  font-size: 23px;
}
footer > span {
  font-size: 10px;
  color: var(--muted);
}
footer > div {
  display: flex;
  gap: 21px;
  margin-inline-start: auto;
  font-size: 10px;
  color: var(--muted);
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  padding: 12px 20px;
  background: var(--surface);
  z-index: 30;
  border: 2px solid var(--accent);
}
[hidden] {
  display: none !important;
}
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171915;
  --surface: #1e211b;
  --soft: #272b23;
  --ink: #e6e9df;
  --muted: #a7ad9e;
  --line: #353a2e;
  --accent: #b5c991;
  --accent-soft: #303b26;
  --shadow: 0 2px 4px #0001, 0 18px 60px #0003;
}
[data-theme="dark"] h1 > span {
  color: #959f86;
}
[data-theme="dark"] .code-purple {
  color: #c2a3ce;
}
[data-theme="dark"] .code-green {
  color: #b5c991;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .button,
  .icon-button {
    transition:
      opacity 0.15s,
      background-color 0.15s,
      transform 0.15s;
  }
  .button:active,
  .icon-button:active {
    transform: scale(0.96);
  }
}
@media (max-width: 380px) {
  .nav .brand-mark {
    display: none;
  }
}
@media (min-width: 1400px) {
  .hero {
    padding-block: 110px 80px;
  }
}
@media (max-width: 1100px) {
  .nav-actions > .button {
    display: none;
  }
}
@media (max-width: 1000px) {
  .nav-links {
    gap: 18px;
    margin-inline-end: 0;
  }
  .nav {
    gap: 16px;
  }
  .nav-actions {
    gap: 8px;
  }
  .hero {
    gap: 30px;
    padding-top: 65px;
  }
  h1 {
    font-size: 46px;
    letter-spacing: -2.2px;
  }
  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 0.65px;
  }
  .hero-description {
    font-size: 14px;
  }
  .terminal-body {
    padding-inline: 15px;
  }
  .preview-label {
    display: none;
  }
  .active-badge {
    font-size: 7px;
  }
  .install-section {
    gap: 32px;
  }
  .install-intro h2 {
    font-size: 29px;
  }
}
@media (max-width: 780px) {
  .menu-toggle {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    inset-inline: 0;
    padding: 15px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links a {
    font-size: 14px;
    padding: 10px 0;
  }
  .wrap {
    padding-inline: 24px;
  }
  .nav {
    height: 70px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links a {
    font-size: 11px;
  }
  .nav-actions > .button {
    display: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    padding-block: 57px 42px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-eyebrow,
  .hero-actions {
    justify-content: center;
  }
  h1 {
    font-size: clamp(43px, 7.5vw, 61px);
  }
  .hero-description {
    margin-inline: auto;
    font-size: 15px;
    max-width: 380px;
  }
  .hero-meta {
    font-size: 10px;
  }
  .demo-scene {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
  .terminal {
    transform: none;
  }
  .terminal-body {
    padding: 23px 23px 12px;
    font-size: 12px;
  }
  .agent-heading strong {
    font-size: 13px;
  }
  .agent-heading small {
    font-size: 10px;
  }
  .active-badge {
    font-size: 9px;
  }
  .prompt-translation,
  .reply-translation {
    font-size: 11px;
  }
  .code-preview {
    font-size: 11px;
  }
  .terminal-bottom {
    font-size: 9px;
  }
  .input-placeholder {
    font-size: 11px;
  }
  .demo-controls {
    font-size: 10px;
  }
  .scene-caption {
    justify-content: center;
  }
  .preview-label {
    display: block;
  }
  .compatibility {
    margin-inline: 24px;
    padding-inline: 0;
  }
  .compatibility-detail,
  .compatibility-divider {
    display: none;
  }
  .compatibility-plus {
    margin-inline: 20px;
  }
  .section {
    padding-top: 65px;
  }
  .section-heading {
    gap: 24px;
  }
  .section-heading > p {
    max-width: 270px;
    font-size: 12px;
  }
  h2 {
    font-size: 31px;
  }
  .flow-diagram {
    padding: 22px 12px;
    grid-template-columns: 1fr 20px 1fr 20px 1fr;
  }
  .flow-node strong {
    font-size: 12px;
  }
  .flow-node > span:not(.flow-icon) {
    font-size: 10px;
  }
  .flow-example {
    font-size: 9px;
    padding: 7px;
  }
  .flow-node .flow-tag {
    font-size: 8px !important;
    padding: 5px 7px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid article,
  .feature-grid article:nth-child(3n),
  .feature-grid article:nth-child(3n + 2) {
    padding: 27px 24px;
    border-inline: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature-grid article:nth-child(odd) {
    padding-inline-start: 0;
    border-inline-end: 1px solid var(--line);
  }
  .feature-grid article:nth-child(even) {
    padding-inline-end: 0;
  }
  .feature-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .feature-grid p {
    max-width: 33ch;
  }
  .install-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 65px;
  }
  .install-intro h2 {
    font-size: 33px;
  }
  .install-card {
    max-width: 530px;
    width: 100%;
  }
  pre {
    font-size: 11px;
  }
  .install-content > p {
    font-size: 10px;
  }
  .faq-section {
    padding-block: 36px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .faq-section > h2 {
    margin-bottom: 24px;
  }
  .faq-list {
    grid-column: 1;
    grid-row: auto;
  }
  .faq-list summary {
    font-size: 13px;
  }
  .faq-list details {
    padding-block: 16px;
  }
  .faq-list details:first-child {
    padding-top: 16px;
  }
  .closing {
    padding-block: 55px 60px;
  }
  footer {
    flex-wrap: wrap;
    padding-block: 25px;
    gap: 14px;
  }
  footer > div {
    margin-inline-start: 0;
    width: 100%;
    gap: 22px;
  }
  .closing h2 {
    font-size: 38px;
  }
}
@media (max-width: 480px) {
  .language-trigger {
    gap: 5px;
    padding-inline: 5px;
  }
  .nav {
    gap: 8px;
  }
  .wrap {
    padding-inline: 20px;
  }
  .brand {
    font-size: 25px;
  }
  .nav-actions {
    gap: 4px;
  }
  .menu-toggle {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    inset-inline: 0;
    padding: 15px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav-links a {
    font-size: 14px;
    padding: 10px 0;
  }
  .hero {
    padding-top: 42px;
    gap: 31px;
  }
  .hero-eyebrow {
    font-size: 8px;
    letter-spacing: 0.6px;
    margin-bottom: 21px;
  }
  h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 315px;
  }
  .hero-actions {
    gap: 17px;
  }
  .hero-meta {
    font-size: 9px;
  }
  .terminal-body {
    padding-inline: 14px;
    font-size: 10px;
  }
  .active-badge {
    font-size: 7px;
  }
  .agent-heading strong {
    font-size: 11px;
  }
  .agent-heading small {
    font-size: 8px;
  }
  .prompt-translation,
  .reply-translation {
    font-size: 9px;
  }
  .code-preview {
    font-size: 9px;
    padding: 11px;
  }
  .terminal-input .input-placeholder {
    font-size: 9px;
  }
  .terminal-bottom {
    font-size: 7px;
  }
  .demo-controls {
    gap: 7px;
    font-size: 8px;
  }
  .language-options button {
    font-size: 9px;
    padding-inline: 7px;
  }
  .preview-label {
    font-size: 7px;
  }
  .scene-caption {
    font-size: 9px;
  }
  .compatibility {
    margin-inline: 20px;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .section-heading > p {
    margin-top: 20px;
    max-width: 100%;
    font-size: 13px;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 1px;
  }
  h2 {
    font-size: 31px;
  }
  .flow-diagram {
    grid-template-columns: 1fr;
    padding: 19px;
  }
  .flow-node {
    padding: 13px 0;
  }
  .flow-arrow {
    transform: rotate(90deg);
    line-height: 1;
  }
  .flow-node strong {
    font-size: 14px;
  }
  .flow-node > span:not(.flow-icon) {
    font-size: 11px;
  }
  .flow-icon {
    margin-bottom: 6px;
  }
  .flow-example {
    margin-top: 12px;
    font-size: 11px;
  }
  .flow-node .flow-tag {
    margin-top: 12px !important;
    font-size: 10px !important;
  }
  .flow-center .brand-mark {
    margin-bottom: 8px;
  }
  .flow-footnote {
    align-items: flex-start;
    text-align: center;
    font-size: 10px;
    max-width: 290px;
    margin-inline: auto;
  }
  .flow-footnote svg {
    margin-top: 2px;
  }
  .features-section .text-link {
    margin-top: 12px;
  }
  .feature-grid article,
  .feature-grid article:nth-child(3n),
  .feature-grid article:nth-child(3n + 2) {
    padding-inline: 16px;
  }
  .feature-grid article:nth-child(odd) {
    padding-inline-start: 0;
  }
  .feature-grid article:nth-child(even) {
    padding-inline-end: 0;
  }
  h3 {
    font-size: 14px;
  }
  .feature-grid p {
    font-size: 11px;
  }
  .install-intro h2 {
    font-size: 30px;
  }
  .install-content {
    padding: 16px 13px;
  }
  pre {
    font-size: 9px;
    padding: 10px;
  }
  .install-content > p {
    font-size: 9px;
    line-height: 1.8;
  }
  .install-next {
    font-size: 9px;
  }
  .closing h2 {
    font-size: 36px;
  }
  footer > div {
    font-size: 9px;
    gap: 16px;
  }
  footer > span {
    font-size: 9px;
  }
  .closing-note {
    font-size: 8px;
  }
}

/* Agent previews follow each terminal's own visual language. */
.terminal[data-preview="claude"] {
  color-scheme: dark;
  --surface: #555654;
  --soft: #4c4e4b;
  --ink: #f0eeeb;
  --muted: #b4b6af;
  --line: #777a72;
  --accent: #c4d7b2;
  color: var(--ink);
}
.terminal[data-preview="pi"] {
  color-scheme: light;
  --surface: #edf1f4;
  --soft: #e2e9ed;
  --ink: #3d4957;
  --muted: #76868d;
  --line: #bbc5c9;
  --accent: #507b8d;
  color: var(--ink);
}
.terminal[data-preview="claude"] .terminal-title {
  background: #4c4e4b;
}
.terminal[data-preview="pi"] .terminal-title {
  background: #e2e9ed;
}
.card-agent-icon {
  display: flex;
  align-items: center;
}
.card-agent-icon img,
.agent-pixel-logo {
  image-rendering: pixelated;
  flex-shrink: 0;
}
.terminal .terminal-body {
  display: flex;
  flex-direction: column;
  min-height: 540px;
  padding: 21px 17px 10px;
}
.terminal .agent-heading {
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
}
.terminal .agent-heading strong {
  display: inline;
  font-size: 11px;
}
.terminal .agent-heading small {
  font-size: 9px;
  line-height: 1.7;
}
.claude-pixel-logo {
  width: 45px;
  height: 32px;
  margin-top: 3px;
}
.agent-version {
  font-size: 10px;
  color: var(--muted);
}
.agent-working-directory {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.terminal .code-preview {
  font-size: 9px;
  line-height: 1.7;
  background: transparent;
  padding: 8px 0 10px;
}
.terminal[data-preview="claude"] .code-purple {
  color: #e4bbde;
}
.terminal[data-preview="claude"] .code-green {
  color: #d0dfb8;
}
.terminal[data-preview="claude"] .prompt-symbol {
  color: #f0eeeb;
}
.terminal[data-preview="claude"] .reply-translation {
  color: #d1dfc7;
  border-color: #aebda7;
}
.terminal .terminal-message {
  font-size: 10px;
  line-height: 1.8;
  margin-bottom: 19px;
}
.terminal .prompt-translation,
.terminal .reply-translation {
  font-size: 9px;
}
.agent-effort {
  margin-top: auto;
  padding-top: 15px;
  text-align: end;
  color: var(--muted);
  font-size: 8px;
}
.terminal .terminal-input {
  margin-top: 8px;
  min-height: 37px;
}
.terminal .input-placeholder {
  font-size: 9px;
}
.terminal .cursor {
  margin-inline-start: 0;
  background: var(--ink);
  opacity: 0.85;
}
.agent-native-footer {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.8;
  padding-block: 8px 3px;
}
.claude-native-footer {
  display: flex;
  flex-wrap: wrap;
  column-gap: 4px;
}
.auto-mode {
  color: #ffce4d;
}
.terminal .terminal-bottom {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid color-mix(in srgb, var(--line) 40%, transparent);
  font-size: 7px;
}
.pi-startup {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
  margin-bottom: 23px;
}
.pi-startup-heading {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}
.pi-pixel-logo {
  width: 30px;
  height: 35px;
  margin-top: 2px;
}
.pi-startup-heading .agent-version {
  display: block;
  font-size: 11px;
  margin-bottom: 1px;
}
.pi-startup-help {
  margin-top: 7px;
}
.pi-startup-description {
  margin-top: 17px;
}
.pi-context {
  margin-top: 21px;
}
.pi-context > span {
  color: #946700;
  font-size: 10px;
}
.pi-context p {
  padding-inline-start: 13px;
}
.terminal[data-preview="pi"] .terminal-input {
  margin-top: auto;
  border-block-color: var(--line);
}
.terminal[data-preview="pi"] .assistant-bullet {
  display: none;
}
.terminal[data-preview="pi"] .assistant-message {
  padding-inline-start: 15px;
}
.terminal[data-preview="pi"] .reply-translation {
  color: #4b6d7e;
  border-color: #96adb7;
}
.pi-native-footer > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 1000px) and (min-width: 781px) {
  .terminal .terminal-body {
    padding-inline: 12px;
  }
  .terminal .agent-heading {
    gap: 8px;
  }
  .claude-pixel-logo {
    width: 36px;
    height: 26px;
  }
  .terminal .agent-heading strong {
    font-size: 10px;
  }
  .agent-version,
  .terminal .agent-heading small {
    font-size: 8px;
  }
}
@media (max-width: 480px) {
  .terminal .terminal-body {
    min-height: 525px;
    padding: 17px 13px 9px;
  }
  .terminal .agent-heading {
    gap: 10px;
    margin-bottom: 23px;
  }
  .claude-pixel-logo {
    width: 38px;
    height: 27px;
  }
  .terminal .agent-heading strong {
    font-size: 10px;
  }
  .agent-version,
  .terminal .agent-heading small {
    font-size: 8px;
  }
  .terminal .terminal-message {
    font-size: 9px;
  }
  .terminal .prompt-translation,
  .terminal .reply-translation {
    font-size: 8px;
  }
  .terminal .code-preview {
    font-size: 8px;
  }
  .pi-startup {
    font-size: 8px;
  }
  .agent-native-footer {
    font-size: 7px;
  }
}

.demo-composer input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 5px 2px;
  background: transparent;
  color: var(--ink);
  font: 10px/1.6 var(--mono);
}
.demo-composer input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}
.demo-composer input[readonly] {
  color: var(--muted);
}
.demo-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  min-width: 68px;
  min-height: 34px;
  padding: 5px 9px;
  font: 11px/1.4 var(--mono);
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--soft);
  color: var(--ink);
}
.demo-send:hover {
  border-color: var(--accent);
}
.demo-send.is-stop svg {
  display: none;
}
.demo-send.is-stop::before {
  content: "";
  width: 9px;
  height: 9px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
}
.simulation-status {
  min-height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 5px;
  color: var(--muted);
  font: 8px/1.6 var(--mono);
}
[data-simulation="thinking"] .simulation-status::before,
[data-simulation="replying"] .simulation-status::before,
[data-simulation="translating"] .simulation-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1px solid var(--line);
  border-top-color: var(--ink);
  border-radius: 50%;
}
.terminal[data-preview="pi"] .simulation-status {
  margin-top: auto;
}
.terminal[data-preview="pi"] .demo-composer {
  margin-top: 8px;
}
[data-simulation="replying"] .assistant-message > div > p:first-child::after {
  content: "▍";
  color: var(--ink);
}
.terminal .assistant-message > div {
  min-height: 80px;
}
@media (prefers-reduced-motion: no-preference) {
  [data-simulation="thinking"] .simulation-status::before,
  [data-simulation="replying"] .simulation-status::before,
  [data-simulation="translating"] .simulation-status::before {
    animation: demo-spin 0.8s linear infinite;
  }
  [data-simulation="thinking"] .user-message {
    animation: demo-message-in 0.2s ease-out;
  }
  [data-simulation="done"] .reply-translation {
    animation: demo-message-in 0.2s ease-out;
  }
  @keyframes demo-spin {
    to {
      transform: rotate(360deg);
    }
  }
  @keyframes demo-message-in {
    from {
      opacity: 0;
      translate: 0 3px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
@media (max-width: 780px) {
  .demo-composer input {
    font-size: 16px;
  }
  .demo-send {
    min-width: 72px;
    min-height: 40px;
  }
  .preview-label {
    white-space: normal;
    text-align: end;
    max-width: 100px;
  }
}
