:root {
  --void: #07090a;
  --void-soft: #0b0f0d;
  --void-raised: #101511;
  --sage: #9dc183;
  --sage-bright: #b7d6a0;
  --sage-deep: #4e7346;
  --gold: #c9a227;
  --paper: #e8e6df;
  --paper-dim: rgba(232, 230, 223, 0.74);
  --paper-faint: rgba(232, 230, 223, 0.56);
  --rule: rgba(232, 230, 223, 0.1);
  --rule-strong: rgba(232, 230, 223, 0.18);
  --glass: rgba(255, 255, 255, 0.022);
  --glass-strong: rgba(13, 19, 15, 0.72);

  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-code: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-mono: var(--font-body);

  --container: min(94vw, 2200px);
  --measure: 68ch;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(5.5rem, 10vw, 9rem);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 0;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 15% 8%, rgba(78, 115, 70, 0.11), transparent 27rem),
    radial-gradient(circle at 90% 22%, rgba(201, 162, 39, 0.045), transparent 24rem),
    var(--void);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  z-index: -2;
  inset: -18vh -12vw auto;
  height: 76vh;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 48% 0%, rgba(78, 115, 70, 0.24), transparent 58%),
    radial-gradient(ellipse at 66% 10%, rgba(201, 162, 39, 0.07), transparent 44%);
  filter: blur(26px);
  animation: ambient-drift 18s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 65%);
}

@keyframes ambient-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(2%, 2%, 0) scale(1.06);
  }
}

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

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: var(--sage);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sage-bright);
}

a,
button,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--sage-bright);
  outline-offset: 4px;
  border-radius: 6px;
}

::selection {
  color: var(--paper);
  background: rgba(157, 193, 131, 0.3);
}

h1,
h2,
h3,
h4,
p,
figure {
  margin-top: 0;
}

p,
figcaption {
  max-width: var(--measure);
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

code,
pre {
  font-family: var(--font-code);
}

p code,
li code,
td code {
  padding: 0.1em 0.38em;
  overflow-wrap: anywhere;
  border: 1px solid rgba(157, 193, 131, 0.15);
  border-radius: 5px;
  background: rgba(157, 193, 131, 0.08);
  color: var(--sage-bright);
  font-size: 0.86em;
}

main:focus {
  outline: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  background: var(--sage-bright);
  color: #081006;
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  color: #081006;
  transform: translateY(0);
}

.site-guides {
  position: fixed;
  z-index: 0;
  inset-block: 0;
  inset-inline: 0;
  width: min(var(--container), calc(100% - (2 * var(--gutter))));
  margin-inline: auto;
  border-inline: 1px solid rgba(232, 230, 223, 0.055);
  pointer-events: none;
}

.filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.liquid-glass {
  position: relative;
  overflow: hidden;
  border: 0;
  background: var(--glass);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 26px 70px -42px rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(4px) saturate(1.12);
  -webkit-backdrop-filter: blur(4px) saturate(1.12);
}

.liquid-glass::before {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  padding: 1.4px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.07) 27%,
    rgba(255, 255, 255, 0.015) 48%,
    rgba(157, 193, 131, 0.05) 67%,
    rgba(201, 162, 39, 0.3) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.container-wide,
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-wide {
  max-width: calc(var(--container) + (2 * var(--gutter)));
}

.container {
  max-width: calc(var(--measure) + (2 * var(--gutter)));
}

.landing-section {
  position: relative;
  overflow: clip;
  padding-block: var(--section-y);
}

.landing-section + .landing-section {
  border-top: 1px solid rgba(232, 230, 223, 0.055);
}

.section-heading {
  max-width: 47rem;
  margin-bottom: clamp(2.7rem, 6vw, 4.6rem);
}

.section-kicker,
.card-label {
  margin-bottom: 1rem;
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-title {
  margin-bottom: 1.15rem;
  font-size: clamp(2.7rem, 6vw, 5.35rem);
  line-height: 0.98;
  text-wrap: balance;
}

.section-sub {
  max-width: 58ch;
  margin-bottom: 0;
  color: var(--paper-dim);
  font-size: clamp(1.02rem, 1.5vw, 1.17rem);
  line-height: 1.65;
  text-wrap: pretty;
}

.section-watermark {
  position: absolute;
  z-index: 0;
  top: 10%;
  left: max(var(--gutter), calc(50% - (var(--container) / 2)));
  color: rgba(157, 193, 131, 0.055);
  font-family: var(--font-display);
  font-size: clamp(14rem, 32vw, 34rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.04em;
  pointer-events: none;
  filter: url('#section-grain');
}

.section-watermark.is-right {
  right: max(var(--gutter), calc(50% - (var(--container) / 2)));
  left: auto;
  color: rgba(201, 162, 39, 0.038);
}

.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  padding-inline: var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: rgba(7, 9, 10, 0.72);
}

.nav-inner {
  position: relative;
  display: flex;
  width: min(var(--container), 100%);
  min-height: 4.5rem;
  margin-inline: auto;
  padding-block: 0.7rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  overflow: visible;
}

.brand,
.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.62rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand:hover,
.footer-brand:hover {
  color: var(--paper);
}

.brand img,
.footer-brand img {
  border-radius: 7px;
  box-shadow: 0 0 18px rgba(157, 193, 131, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.5rem);
}

.nav-links a {
  color: var(--paper-dim);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a[aria-current='page'] {
  color: var(--paper);
}

.nav-links .nav-cta {
  padding: 0.58rem 1.12rem;
  border: 1px solid rgba(183, 214, 160, 0.25);
  border-radius: 999px;
  background: rgba(157, 193, 131, 0.13);
  color: var(--sage-bright);
  font-weight: 600;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s var(--ease);
}

.nav-links .nav-cta:hover {
  color: var(--paper);
  background: rgba(157, 193, 131, 0.2);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.75rem 0.68rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 0.28rem;
  background: currentColor;
  transition: transform 0.25s ease;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: clip;
  max-width: calc(var(--container) + (2 * var(--gutter)));
  min-height: calc(100svh - 5rem);
  margin-inline: auto;
  padding: clamp(4.2rem, 9vw, 7.8rem) var(--gutter) clamp(4rem, 7vw, 6rem);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: -12%;
  right: -2%;
  width: min(64vw, 52rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(157, 193, 131, 0.13), transparent 53%),
    conic-gradient(
      from 120deg,
      transparent,
      rgba(201, 162, 39, 0.07),
      transparent,
      rgba(78, 115, 70, 0.13),
      transparent
    );
  filter: blur(42px);
  animation: orbit-glow 16s ease-in-out infinite alternate;
}

@keyframes orbit-glow {
  from {
    transform: rotate(-4deg) scale(0.96);
  }
  to {
    transform: rotate(8deg) scale(1.05);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2.4rem, 6vw, 5.6rem);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1.8rem;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-bright);
  box-shadow: 0 0 14px rgba(183, 214, 160, 0.9);
  animation: signal-pulse 2.8s ease-in-out infinite;
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

#hero-title {
  max-width: 9ch;
  margin-bottom: 1.5rem;
  font-size: clamp(4.1rem, 8.4vw, 7.45rem);
  letter-spacing: -0.04em;
  line-height: 0.84;
  text-wrap: balance;
}

.gradient-headline {
  display: inline-block;
  color: var(--sage-bright);
  font-style: italic;
  filter: url('#hero-grain');
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gradient-headline {
    background-image: linear-gradient(
      100deg,
      var(--sage-deep) 0%,
      var(--sage-bright) 24%,
      var(--gold) 47%,
      var(--paper) 52%,
      var(--sage-bright) 70%,
      var(--sage-deep) 100%
    );
    background-position: -200% center;
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: headline-shine 6s linear infinite;
  }
}

@keyframes headline-shine {
  from {
    background-position: -200% center;
  }
  to {
    background-position: 200% center;
  }
}

.hero-lede {
  max-width: 41rem;
  margin-bottom: 2rem;
  color: var(--paper-dim);
  font-size: clamp(1.06rem, 1.6vw, 1.23rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}

.hero-actions.is-start {
  justify-content: flex-start;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 3.2rem;
  padding: 0.83rem 1.42rem;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 650;
  line-height: 1.2;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.3s ease,
    transform 0.3s var(--ease);
}

.button-primary {
  background: var(--sage-bright);
  box-shadow: 0 18px 44px -23px rgba(183, 214, 160, 0.95);
  color: #071006;
}

.button-primary:hover {
  background: var(--paper);
  color: #071006;
  box-shadow: 0 24px 58px -26px rgba(183, 214, 160, 1);
  transform: translateY(-2px);
}

.button-primary svg {
  width: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.button-secondary {
  color: var(--paper);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.055);
  color: var(--paper);
  transform: translateY(-2px);
}

.button-primary.compact,
.button-secondary.compact {
  min-height: 2.85rem;
  padding: 0.72rem 1.18rem;
  font-size: 0.86rem;
}

.platform-note {
  margin: 0;
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.69rem;
  letter-spacing: 0.045em;
}

.hero-demo {
  margin: 0;
  padding: 0.6rem;
  border-radius: 24px;
  background: rgba(9, 13, 10, 0.64);
  transform: perspective(1400px) rotateY(-2.5deg) rotateX(1.2deg);
  transform-origin: center left;
}

.window-bar {
  display: flex;
  min-height: 2.2rem;
  padding: 0.1rem 0.45rem 0.5rem;
  align-items: center;
  gap: 0.42rem;
  color: var(--paper-faint);
}

.window-bar span {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: rgba(232, 230, 223, 0.2);
}

.window-bar span:first-child {
  background: rgba(201, 162, 39, 0.7);
}

.window-bar span:nth-child(2) {
  background: rgba(157, 193, 131, 0.62);
}

.window-bar strong {
  margin-inline: auto;
  padding-right: 2.6rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.hero-demo-screen {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(232, 230, 223, 0.08);
  border-radius: 16px;
  background: #0a0d0b;
}

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

.hero-demo-static {
  display: none;
}

.hero-demo figcaption,
.clip-card figcaption,
.graph-clip figcaption {
  margin: 0.68rem 0.35rem 0.12rem;
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
}

.scroll-cue {
  display: inline-flex;
  position: absolute;
  bottom: 1.4rem;
  left: var(--gutter);
  align-items: center;
  gap: 0.75rem;
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 0.85rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.install-section {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.012), transparent 70%);
}

.install-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.install-card {
  min-height: 25rem;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(7, 9, 10, 0.28));
}

.card-index {
  position: absolute;
  top: 1.7rem;
  right: 1.8rem;
  color: rgba(232, 230, 223, 0.17);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.install-card h3,
.skills-card h3,
.sandbox-core h3 {
  margin-bottom: 0.7rem;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.install-card > p:not(.card-label):not(.card-footnote) {
  max-width: 46ch;
  color: var(--paper-dim);
}

.command-shell {
  display: grid;
  margin: 2.4rem 0 1.4rem;
  padding: 0.72rem 0.75rem 0.72rem 1rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 13px;
  background: rgba(3, 5, 4, 0.72);
}

.command-shell code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: 0.76rem;
  line-height: 1.55;
}

.copy-button {
  flex: 0 0 auto;
  padding: 0.45rem 0.72rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--paper-dim);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.copy-button:hover {
  border-color: rgba(157, 193, 131, 0.45);
  color: var(--sage-bright);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--sage-bright);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.025em;
  text-decoration: underline;
  text-decoration-color: rgba(157, 193, 131, 0.25);
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.text-link.muted {
  color: var(--paper-dim);
}

.card-footnote {
  margin: 1rem 0 0;
  color: var(--paper-faint);
  font-size: 0.78rem;
}

.files-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: center;
}

.file-ledger {
  border-top: 1px solid var(--rule-strong);
}

.file-ledger article {
  display: grid;
  padding: 1.35rem 0;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.4rem;
  border-bottom: 1px solid var(--rule);
}

.file-ledger article > span,
.sandbox-capabilities article > span,
.app-details article > span {
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.file-ledger h3,
.search-feature h3 {
  margin-bottom: 0.35rem;
  color: var(--paper);
  font-size: 1rem;
}

.file-ledger p,
.search-feature p {
  margin-bottom: 0;
  color: var(--paper-dim);
  font-size: 0.9rem;
}

.section-note {
  margin: 1.6rem 0 0;
  padding-left: 1rem;
  border-left: 2px solid var(--sage-deep);
  color: var(--paper-dim);
  font-size: 0.88rem;
}

.clip-stack {
  position: relative;
  padding: 1rem 0 4rem;
}

.clip-card {
  margin: 0;
  padding: 0.5rem;
  border-radius: 18px;
  background: rgba(7, 10, 8, 0.74);
}

.clip-card video,
.graph-clip video {
  width: 100%;
  border-radius: 13px;
  background: #050706;
}

.clip-card-main {
  width: 91%;
  margin-left: auto;
}

.clip-card-small {
  position: absolute;
  bottom: 0;
  left: -2rem;
  width: 62%;
  box-shadow: 0 32px 80px -38px #000;
}

.agent-intro-grid {
  display: grid;
  margin-bottom: 1.35rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.25rem;
}

.terminal-card,
.skills-card {
  min-width: 0;
  border-radius: var(--radius);
  background: rgba(7, 11, 8, 0.68);
}

.terminal-bar {
  display: flex;
  min-height: 3.3rem;
  padding: 0.7rem 0.85rem 0.7rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--rule);
}

.terminal-bar > span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--paper-faint);
  font-family: var(--font-code);
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.terminal-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage-bright);
  box-shadow: 0 0 12px rgba(183, 214, 160, 0.7);
}

.terminal-card pre {
  margin: 0;
  padding: 2rem 1.35rem 1.1rem;
  overflow: visible;
  white-space: pre-wrap;
}

.terminal-card pre code {
  overflow-wrap: anywhere;
  color: var(--paper);
  font-size: clamp(0.76rem, 1.2vw, 0.9rem);
}

.terminal-card > p {
  margin: 0;
  padding: 0 1.35rem 1.65rem;
  color: var(--paper-dim);
  font-size: 0.83rem;
}

.skills-card {
  padding: clamp(1.6rem, 4vw, 2.25rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 162, 39, 0.08), transparent 56%),
    rgba(7, 11, 8, 0.68);
}

.skills-card > p:not(.card-label) {
  color: var(--paper-dim);
  font-size: 0.9rem;
}

.skills-links {
  display: flex;
  margin-top: 1.7rem;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}

.tool-table-wrap {
  border-radius: var(--radius);
  background: rgba(7, 11, 8, 0.62);
}

.table-heading {
  display: flex;
  padding: clamp(1.4rem, 3vw, 2rem);
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--rule);
}

.table-heading .card-label {
  margin-bottom: 0.5rem;
}

.table-heading h3 {
  margin-bottom: 0;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.table-heading > p {
  max-width: 28rem;
  margin-bottom: 0;
  color: var(--paper-faint);
  font-size: 0.82rem;
  text-align: right;
}

.table-scroll {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.tool-table,
.docs-body table {
  width: 100%;
  border-collapse: collapse;
}

.tool-table {
  min-width: 42rem;
}

.tool-table th,
.tool-table td {
  padding: 0.88rem clamp(1rem, 2.5vw, 1.8rem);
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
}

.tool-table th {
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tool-table td {
  color: var(--paper-dim);
  font-size: 0.84rem;
}

.tool-table td:nth-child(2) {
  width: 15rem;
}

.access-pill {
  display: inline-flex;
  min-width: 3.8rem;
  padding: 0.22rem 0.52rem;
  justify-content: center;
  border: 1px solid;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.59rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.access-pill.read {
  border-color: rgba(157, 193, 131, 0.26);
  background: rgba(157, 193, 131, 0.07);
  color: var(--sage-bright);
}

.access-pill.write {
  border-color: rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.06);
  color: #dbc15f;
}

.tool-table-note {
  margin: 0;
  padding: 1rem clamp(1rem, 2.5vw, 1.8rem) 1.2rem;
  color: var(--paper-faint);
  font-size: 0.78rem;
}

.agent-ready-note {
  display: grid;
  margin-top: 1.3rem;
  padding: 1.15rem 1.35rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.012);
}

.agent-ready-note > span {
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 0.7rem;
}

.agent-ready-note p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.83rem;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.25rem;
}

.screenshot-card {
  min-width: 0;
  margin: 0;
  padding: 0.5rem;
  border-radius: 20px;
  background: rgba(7, 11, 8, 0.7);
}

.screenshot-card:nth-child(1),
.screenshot-card:nth-child(4) {
  grid-column: span 7;
}

.screenshot-card:nth-child(2),
.screenshot-card:nth-child(3) {
  grid-column: span 5;
}

.screenshot-card img {
  width: 100%;
  border: 1px solid rgba(232, 230, 223, 0.08);
  border-radius: 14px;
  background: #080a09;
}

.screenshot-card figcaption {
  display: flex;
  min-height: 3.5rem;
  margin: 0;
  padding: 0.8rem 0.45rem 0.32rem;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--paper-faint);
  font-size: 0.75rem;
}

.screenshot-card figcaption span {
  flex: 0 0 auto;
  color: var(--sage);
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.app-details {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--rule);
}

.app-details article {
  padding: 1.4rem;
  border-left: 1px solid var(--rule);
}

.app-details article:first-child {
  border-left: 0;
}

.app-details p {
  margin: 0.55rem 0 0;
  color: var(--paper-dim);
  font-size: 0.79rem;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.7rem, 6vw, 5.4rem);
  align-items: center;
}

.search-feature {
  display: grid;
  padding: 1.25rem 0;
  grid-template-columns: 2.2rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--rule);
}

.feature-number {
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.63rem;
}

.search-copy .text-link {
  margin-top: 1.2rem;
}

.graph-clip {
  margin: 0;
  padding: 0.58rem;
  border-radius: 22px;
  background: rgba(8, 11, 10, 0.72);
}

.plugins-section {
  background:
    radial-gradient(circle at 50% 52%, rgba(78, 115, 70, 0.08), transparent 40rem),
    transparent;
}

.sandbox-diagram {
  display: grid;
  padding: clamp(1.5rem, 4vw, 2.6rem);
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4rem);
  border-radius: 28px;
  background: rgba(7, 11, 8, 0.66);
}

.sandbox-core {
  padding: 1.3rem;
  border: 1px solid rgba(157, 193, 131, 0.2);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(157, 193, 131, 0.1), transparent 65%),
    rgba(4, 7, 5, 0.7);
  box-shadow: 0 0 50px rgba(78, 115, 70, 0.08);
}

.sandbox-core > p:not(.card-label) {
  margin-bottom: 0;
  color: var(--paper-dim);
  font-size: 0.88rem;
}

.sandbox-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
}

.sandbox-capabilities article {
  padding: 1.35rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.sandbox-capabilities article:nth-child(2n) {
  border-right: 0;
}

.sandbox-capabilities article:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.sandbox-capabilities p {
  margin: 0.5rem 0 0;
  color: var(--paper-dim);
  font-size: 0.82rem;
}

.plugin-footer {
  display: grid;
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.plugin-footer > p {
  max-width: var(--measure);
  margin: 0;
  color: var(--paper-dim);
}

.plugin-footer .hero-actions {
  margin: 0;
  flex-wrap: nowrap;
}

.privacy-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.65fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
}

.privacy-heading .section-heading {
  margin-bottom: 0;
}

.privacy-heading > p {
  margin: 0 0 0.75rem;
  color: var(--paper-dim);
}

.network-list {
  display: grid;
  margin: clamp(3rem, 7vw, 5rem) 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid var(--rule-strong);
}

.network-list li {
  display: grid;
  padding: 1.55rem 1.4rem 1.55rem 0;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.8rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.network-list li:nth-child(2n) {
  padding-right: 0;
  padding-left: 1.4rem;
  border-right: 0;
}

.network-list li > span {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.network-list h3 {
  margin-bottom: 0.3rem;
  color: var(--paper);
  font-size: 0.98rem;
}

.network-list p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.83rem;
}

.privacy-foot {
  display: flex;
  margin-top: 2rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.privacy-foot p {
  max-width: var(--measure);
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.9rem;
}

.final-cta {
  border-top: 0;
  padding-top: clamp(4rem, 8vw, 7rem);
}

.cta-panel {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) var(--gutter);
  overflow: hidden;
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 130%, rgba(157, 193, 131, 0.18), transparent 52%),
    rgba(10, 14, 11, 0.66);
  text-align: center;
}

.cta-panel .section-title {
  max-width: 12ch;
  margin-inline: auto;
}

.cta-panel > p:not(.section-kicker) {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--paper-dim);
}

.cta-panel .hero-actions {
  margin: 0;
  justify-content: center;
}

.cta-orbit {
  position: absolute;
  inset: auto 12% -130% 12%;
  aspect-ratio: 1;
  border: 1px solid rgba(157, 193, 131, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(157, 193, 131, 0.018),
    0 0 0 8rem rgba(201, 162, 39, 0.012);
  pointer-events: none;
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: clamp(2rem, 6vw, 5rem);
  padding: 0 var(--gutter) clamp(2.2rem, 5vw, 4rem);
}

.footer-inner {
  display: grid;
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-top: 2rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem 2rem;
  border-top: 1px solid var(--rule);
}

.footer-inner nav,
.footer-ecosystem {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
}

.footer-inner nav {
  justify-content: center;
}

.footer-inner nav a,
.footer-ecosystem a {
  color: var(--paper-dim);
  font-size: 0.78rem;
}

.footer-inner nav a:hover,
.footer-ecosystem a:hover {
  color: var(--paper);
}

.footer-ecosystem {
  justify-content: flex-end;
}

.footer-meta {
  grid-column: 1 / -1;
  max-width: none;
  margin: 0;
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Documentation pages */

.docs-hero {
  position: relative;
  z-index: 1;
  max-width: calc(62rem + (2 * var(--gutter)));
  margin-inline: auto;
  padding: clamp(5rem, 10vw, 8rem) var(--gutter) clamp(2.8rem, 6vw, 4.5rem);
}

.version-badge,
.page-kicker {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.docs-hero h1 {
  margin-bottom: 1rem;
  font-size: clamp(3.5rem, 9vw, 6.8rem);
  line-height: 0.9;
  text-wrap: balance;
}

.docs-hero p {
  max-width: 61ch;
  margin: 0;
  color: var(--paper-dim);
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
}

.docs-body {
  position: relative;
  z-index: 1;
  /* A documentation page is one reading column, centred. The landing page is
     full width; these are not. Pinning 68ch of prose to the left of a 2200px
     block left most of the page empty. */
  max-width: calc(62rem + (2 * var(--gutter)));
  margin-inline: auto;
  padding: 0 var(--gutter) clamp(4rem, 10vw, 8rem);
}

.docs-toc {
  display: grid;
  margin: 0 0 clamp(4rem, 8vw, 6rem);
  padding: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.58rem 2rem;
  border: 1px solid var(--rule);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.016);
}

.docs-toc strong {
  grid-column: 1 / -1;
  margin-bottom: 0.35rem;
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-toc a {
  color: var(--paper-dim);
  font-size: 0.84rem;
}

.docs-toc a:hover {
  color: var(--sage-bright);
}

.docs-body h2 {
  margin: clamp(4rem, 8vw, 6rem) 0 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule);
  font-size: clamp(2.2rem, 5vw, 3.55rem);
  line-height: 1;
}

.docs-body h3 {
  margin: 2.6rem 0 0.75rem;
  color: var(--paper);
  font-size: 1.15rem;
}

.docs-body h4 {
  margin: 2.2rem 0 0.65rem;
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-body p,
.docs-body li {
  color: var(--paper-dim);
}

.docs-body p {
  max-width: none;
}

.docs-body strong {
  color: var(--paper);
  font-weight: 600;
}

.docs-body ul,
.docs-body ol {
  max-width: none;
  padding-left: 1.25rem;
}

.docs-body li {
  margin-bottom: 0.58rem;
}

.docs-body kbd {
  display: inline-flex;
  min-width: 1.75rem;
  padding: 0.1rem 0.35rem;
  justify-content: center;
  border: 1px solid var(--rule-strong);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--paper);
  font-size: 0.75rem;
}

.docs-body pre {
  max-width: min(100%, var(--measure));
  margin: 1.5rem 0;
  padding: 1.25rem 1.35rem;
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(4, 7, 5, 0.78);
  color: var(--paper);
  font-size: 0.78rem;
  line-height: 1.72;
}

.docs-body th,
.docs-body td {
  padding: 0.78rem 0.88rem;
  border-bottom: 1px solid var(--rule);
  color: var(--paper-dim);
  font-size: 0.84rem;
  text-align: left;
  vertical-align: top;
}

.docs-body th {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-body .table-scroll {
  margin: 1.6rem 0;
}

.callout {
  max-width: var(--measure);
  margin: 1.8rem 0;
  padding: 1.25rem 1.35rem;
  border: 1px solid rgba(157, 193, 131, 0.13);
  border-left: 2px solid var(--sage-deep);
  border-radius: 12px;
  background: rgba(157, 193, 131, 0.035);
  color: var(--paper-dim);
  font-size: 0.9rem;
}

.callout.warn {
  border-color: rgba(201, 162, 39, 0.15);
  border-left-color: var(--gold);
  background: rgba(201, 162, 39, 0.035);
}

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

.callout-title {
  display: block;
  margin-bottom: 0.52rem;
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.callout.warn .callout-title {
  color: var(--gold);
}

.method-list {
  max-width: var(--measure);
  margin: 1.5rem 0;
}

.method-card {
  margin-bottom: 0.8rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.014);
}

.method-signature {
  display: block;
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
  color: var(--sage-bright) !important;
  font-family: var(--font-code);
  font-size: 0.78rem;
}

.method-description {
  margin: 0;
  font-size: 0.86rem;
}

.permission-pill {
  display: inline-block;
  margin: 0.15rem 0.2rem;
  padding: 0.12rem 0.5rem;
  border: 1px solid rgba(157, 193, 131, 0.18);
  border-radius: 999px;
  background: rgba(157, 193, 131, 0.07);
  color: var(--sage);
  font-family: var(--font-body);
  font-size: 0.63rem;
}

.next-links {
  display: grid;
  max-width: var(--measure);
  margin-top: 3.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.next-links a {
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.014);
  color: var(--paper);
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}

.next-links a:hover {
  border-color: rgba(157, 193, 131, 0.4);
  transform: translateY(-2px);
}

.next-links .label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.next-links .title {
  color: var(--paper);
  font-size: 0.9rem;
}

.docs-body pre .c {
  color: var(--paper-faint);
  font-style: italic;
}

.docs-body pre .k {
  color: var(--sage);
}

.docs-body pre .s {
  color: var(--gold);
}

.docs-body pre .f {
  color: var(--sage-bright);
}

.docs-body pre .title,
.docs-body pre .label {
  color: var(--paper);
}

/* Plugin directory */

.directory-search {
  display: grid;
  margin: 2rem 0 1rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.directory-search label,
.directory-count,
.directory-status {
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.directory-search input {
  min-width: 0;
  padding: 0.72rem 1rem;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: rgba(4, 7, 5, 0.72);
  color: var(--paper);
  font-size: 0.88rem;
}

.directory-search input::placeholder {
  color: var(--paper-faint);
}

.directory-toolbar {
  display: flex;
  margin: 1rem 0 1.5rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.directory-toolbar a {
  font-family: var(--font-body);
  font-size: 0.68rem;
}

.plugin-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.directory-card {
  display: flex;
  min-width: 0;
  padding: 1.4rem;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.016);
}

.directory-card-heading h3 {
  margin: 0 0 0.2rem;
  color: var(--paper);
  font-size: 1.02rem;
}

.directory-version {
  color: var(--paper-faint);
  font-family: var(--font-body);
  font-size: 0.63rem;
}

.directory-description {
  margin: 0;
  flex: 1;
  color: var(--paper-dim);
  font-size: 0.84rem;
}

.directory-permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.directory-chip {
  display: inline-flex;
  padding: 0.17rem 0.5rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--paper-dim);
  font-family: var(--font-body);
  font-size: 0.59rem;
}

.directory-chip.directory-host {
  border-color: rgba(201, 162, 39, 0.27);
  color: var(--gold);
}

.directory-install {
  display: flex;
  padding-top: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  color: var(--paper-faint);
  font-size: 0.73rem;
}

.directory-install-button {
  display: inline-flex;
  padding: 0.48rem 0.9rem;
  border: 1px solid rgba(157, 193, 131, 0.28);
  border-radius: 999px;
  background: rgba(157, 193, 131, 0.1);
  color: var(--sage-bright);
  font-size: 0.79rem;
  font-weight: 600;
}

.directory-install-button:hover {
  background: rgba(157, 193, 131, 0.18);
  color: var(--paper);
}

.directory-empty {
  color: var(--paper-faint);
}

[hidden] {
  display: none !important;
}

/* Scroll reveal */

.has-js .reveal,
.has-js .reveal-group > * {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.has-js .reveal.is-visible,
.has-js .reveal-group.is-visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 0.82s var(--ease),
    transform 0.82s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}

@media (min-width: 1360px) {
  .install-grid {
    gap: clamp(1.5rem, 3vw, 3.5rem);
  }

  /* Deliberately no column override here. These are 1760x1124 landscape
     captures of the app; four across squeezes each into an illegible
     sliver. The base 12-column rule keeps them two per row at every width. */
  .screenshot-grid {
    gap: clamp(1rem, 1.5vw, 1.75rem);
  }

  .network-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .network-list li,
  .network-list li:nth-child(2n) {
    padding: 1.55rem 1.4rem;
    border-right: 1px solid var(--rule);
  }

  .network-list li:nth-child(3n + 1) {
    padding-left: 0;
  }

  .network-list li:nth-child(3n) {
    padding-right: 0;
    border-right: 0;
  }

  .docs-toc {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .plugin-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1700px) {
  .plugin-directory {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1120px) {
  .site-guides {
    display: none;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  #hero-title {
    font-size: clamp(4rem, 8.6vw, 6.2rem);
  }

  .clip-card-small {
    left: 0;
  }

  .app-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-details article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .app-details article:nth-child(4) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 900px) {
  .has-js .nav-toggle {
    display: block;
  }

  .has-js .nav-links {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.6rem);
    right: 0;
    left: 0;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    border: 1px solid var(--rule-strong);
    border-radius: 18px;
    background: rgba(7, 10, 8, 0.97);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .has-js .nav-links.is-open {
    display: flex;
  }

  html:not(.has-js) .nav-inner {
    flex-wrap: wrap;
  }

  html:not(.has-js) .nav-links {
    width: 100%;
    padding-top: 0.6rem;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    border-top: 1px solid var(--rule);
  }

  .nav-links a {
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
  }

  .nav-links .nav-cta {
    margin-top: 0.35rem;
    text-align: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .files-layout,
  .agent-intro-grid,
  .search-layout,
  .sandbox-diagram,
  .privacy-heading {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 46rem;
  }

  #hero-title {
    max-width: 10ch;
    font-size: clamp(4.4rem, 13vw, 7rem);
  }

  .hero-demo {
    transform: none;
  }

  .scroll-cue {
    display: none;
  }

  .clip-stack {
    max-width: 44rem;
    margin-inline: auto;
  }

  .table-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
  }

  .table-heading > p {
    text-align: left;
  }

  .screenshot-card:nth-child(n) {
    grid-column: 1 / -1;
  }

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

  .plugin-footer .hero-actions {
    flex-wrap: wrap;
  }

  .privacy-heading > p {
    max-width: 50rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .footer-inner nav,
  .footer-ecosystem {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  :root {
    --section-y: 5rem;
  }

  body {
    font-size: 0.96rem;
  }

  .nav-inner {
    min-height: 3.2rem;
  }

  .brand {
    font-size: 1.18rem;
  }

  .brand img {
    width: 25px;
    height: 25px;
  }

  .hero {
    padding-top: 4.6rem;
  }

  #hero-title {
    font-size: clamp(3.7rem, 19vw, 5.5rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button-primary,
  .hero-actions .button-secondary {
    width: 100%;
  }

  .install-grid,
  .network-list,
  .plugin-directory,
  .next-links {
    grid-template-columns: 1fr;
  }

  .install-card {
    min-height: 0;
  }

  .command-shell {
    grid-template-columns: 1fr;
  }

  .command-shell .copy-button {
    justify-self: start;
  }

  .file-ledger article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .clip-stack {
    padding-bottom: 0;
  }

  .clip-card-main,
  .clip-card-small {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    margin: 0;
  }

  .clip-card-small {
    margin-top: 1rem;
  }

  .agent-ready-note {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

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

  .screenshot-card:nth-child(n) {
    grid-column: 1;
  }

  .app-details {
    grid-template-columns: 1fr;
  }

  .app-details article,
  .app-details article:nth-child(n) {
    border-top: 1px solid var(--rule);
    border-left: 0;
  }

  .app-details article:first-child {
    border-top: 0;
  }

  .sandbox-capabilities {
    grid-template-columns: 1fr;
  }

  .sandbox-capabilities article,
  .sandbox-capabilities article:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .sandbox-capabilities article:last-child {
    border-bottom: 0;
  }

  .network-list li,
  .network-list li:nth-child(2n) {
    padding: 1.4rem 0;
    border-right: 0;
  }

  .privacy-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .docs-toc {
    grid-template-columns: 1fr;
  }

  .directory-search {
    grid-template-columns: 1fr;
  }

  .directory-count {
    justify-self: start;
  }

  .footer-inner {
    justify-items: start;
  }

  .footer-inner nav,
  .footer-ecosystem {
    justify-content: flex-start;
  }

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .eyebrow {
    align-items: flex-start;
    line-height: 1.5;
  }

  #hero-title {
    font-size: clamp(3.35rem, 18vw, 4.7rem);
  }

  .hero-demo {
    padding: 0.42rem;
    border-radius: 18px;
  }

  .hero-demo-screen {
    border-radius: 11px;
  }

  .section-title {
    font-size: clamp(2.5rem, 14vw, 3.8rem);
  }

  .install-card,
  .skills-card,
  .sandbox-diagram,
  .cta-panel {
    padding: 1.35rem;
  }

  .card-index {
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .has-js .reveal,
  .has-js .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .gradient-headline {
    background: none !important;
    color: var(--sage-bright) !important;
    filter: none;
    -webkit-text-fill-color: var(--sage-bright) !important;
  }

  .hero-demo {
    transform: none;
  }

  .hero-demo-animated {
    display: none;
  }

  .hero-demo-static {
    display: block;
  }

  .section-watermark {
    filter: none;
  }
}
