:root {
  --page: #f7f8fb;
  --surface: #ffffff;
  --surface-soft: #f0f3f8;
  --ink: #101828;
  --muted: #667085;
  --line: #dfe4ec;
  --line-strong: #cbd3df;
  --blue: #2457f5;
  --blue-dark: #1942c8;
  --blue-soft: #eaf0ff;
  --green: #17a673;
  --green-soft: #e7f8f1;
  --purple: #7547d8;
  --cyan: #0a9bb5;
  --yellow: #f5c542;
  --code: #0d1321;
  --code-line: #242d40;
  --code-text: #e8edf7;
  --shadow-sm: 0 7px 24px rgba(16, 24, 40, 0.07);
  --shadow-lg: 0 28px 80px rgba(16, 24, 40, 0.13);
  --radius: 18px;
  --shell: 1180px;
}

html[data-theme="dark"] {
  --page: #070b14;
  --surface: #0f1625;
  --surface-soft: #111a2b;
  --ink: #edf2fb;
  --muted: #9ba8bb;
  --line: #263248;
  --line-strong: #34435e;
  --blue: #6e95ff;
  --blue-dark: #84a5ff;
  --blue-soft: #17264b;
  --green: #54d8a7;
  --green-soft: #12352f;
  --purple: #a98af2;
  --cyan: #52c9df;
  --code: #050811;
  --code-line: #202a3d;
  --code-text: #e8edf7;
  --shadow-sm: 0 7px 24px rgba(0, 0, 0, 0.24);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 80% 5%, rgba(36, 87, 245, 0.08), transparent 23rem),
    var(--page);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button,
select {
  font: inherit;
}

a {
  color: inherit;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

code {
  font-size: 0.9em;
}

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--page);
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 30px;
}

.site-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.site-brand-mark img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

html[data-theme="dark"] .site-brand-mark img {
  filter: brightness(1.22) saturate(1.08);
}

.site-brand-copy {
  display: grid;
  line-height: 1.2;
}

.site-brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: -0.025em;
}

.site-brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 26px;
}

.top-nav a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.top-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-picker select {
  min-height: 38px;
  padding: 7px 28px 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.header-cta {
  display: inline-flex;
  min-height: 38px;
  padding: 8px 14px;
  align-items: center;
  gap: 7px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--page);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.header-cta:hover {
  opacity: 0.84;
}

.hero {
  display: grid;
  min-height: 660px;
  padding-block: 94px 78px;
  align-items: center;
  gap: 64px;
  grid-template-columns: minmax(0, 1fr) minmax(480px, 0.92fr);
}

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

.hero-label-row {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ai-ready-badge {
  display: inline-flex;
  min-height: 30px;
  padding: 5px 10px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(23, 166, 115, 0.28);
  border-radius: 999px;
  background: var(--green-soft);
  color: color-mix(in srgb, var(--green) 78%, var(--ink));
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.ai-ready-signal {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 15%, transparent);
}

.ai-ready-signal::after {
  position: absolute;
  inset: -4px;
  border: 1px solid var(--green);
  border-radius: inherit;
  content: "";
  opacity: 0;
  animation: signal-pulse 2.4s ease-out infinite;
}

@keyframes signal-pulse {
  0% {
    opacity: 0.55;
    transform: scale(0.7);
  }
  65%,
  100% {
    opacity: 0;
    transform: scale(1.7);
  }
}

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

  .ai-ready-signal::after {
    animation: none;
  }
}

.release-label {
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.71rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(3.25rem, 6.2vw, 5.35rem);
  font-weight: 760;
  letter-spacing: -0.067em;
  line-height: 0.97;
}

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

.hero-lead {
  max-width: 625px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 850;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--blue);
  box-shadow: 0 10px 25px rgba(36, 87, 245, 0.22);
  color: #fff;
}

.button-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 14px 32px rgba(36, 87, 245, 0.28);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--blue);
}

.discovery-line {
  display: flex;
  margin-top: 30px;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 0.77rem;
}

.discovery-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 900;
}

.discovery-line a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.hero-console {
  position: relative;
  overflow: hidden;
  border: 1px solid #263044;
  border-radius: 18px;
  background: var(--code);
  box-shadow: var(--shadow-lg);
  color: var(--code-text);
  transform: perspective(1400px) rotateY(-2.2deg) rotateX(0.5deg);
}

.hero-console::before {
  position: absolute;
  z-index: -1;
  inset: 15% -10% -20% 25%;
  border-radius: 50%;
  background: rgba(36, 87, 245, 0.35);
  content: "";
  filter: blur(80px);
}

.console-topbar,
.console-footer {
  display: flex;
  min-height: 49px;
  padding-inline: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--code-line);
  color: #8f9cb2;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4e5a70;
}

.console-dots span:first-child {
  background: #ff6b68;
}

.console-dots span:nth-child(2) {
  background: #f7c84b;
}

.console-dots span:last-child {
  background: #45c78d;
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64d6a6;
}

.console-status i,
.valid-label i,
.resource-state i,
.config-window-bottom i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.console-body {
  padding-block: 12px 0;
}

.console-request {
  display: grid;
  padding: 10px 22px 17px 12px;
  grid-template-columns: 28px minmax(0, 1fr);
  row-gap: 7px;
}

.console-request code,
.console-response code {
  min-width: 0;
  overflow-wrap: anywhere;
  color: #d9e0ec;
  font-size: 0.73rem;
  line-height: 1.55;
}

.console-request .line-number {
  color: #4e5a70;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.68rem;
  text-align: right;
}

.console-request b,
.console-response b {
  color: #65d8a7;
  font-weight: 700;
}

.console-request em,
.console-response em,
.manifest-window em {
  color: #a8c1ff;
  font-style: normal;
}

.console-request q,
.console-response q,
.manifest-window q {
  color: #f4cf72;
  quotes: none;
}

.console-request code span {
  color: #657188;
}

.console-divider {
  display: flex;
  padding: 9px 18px;
  justify-content: space-between;
  border-block: 1px solid var(--code-line);
  background: #11192a;
  color: #77849a;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.63rem;
  text-transform: uppercase;
}

.console-response {
  display: grid;
  padding: 18px 24px 22px 40px;
  gap: 6px;
  background: rgba(35, 72, 152, 0.07);
}

.console-footer {
  min-height: 47px;
  border-top: 1px solid var(--code-line);
  border-bottom: 0;
  font-family: inherit;
  font-size: 0.68rem;
}

.console-footer span:first-child {
  color: #72d9ad;
}

.console-footer i {
  margin-right: 4px;
  font-style: normal;
}

.signal-strip {
  border-block: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 68%, transparent);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.signal-grid div {
  display: grid;
  min-height: 94px;
  padding: 22px 28px;
  align-content: center;
  gap: 2px;
  border-right: 1px solid var(--line);
}

.signal-grid div:first-child {
  border-left: 1px solid var(--line);
}

.signal-grid strong {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.025em;
}

.signal-grid span {
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 650;
}

.section {
  padding-block: 108px;
}

.section-tinted {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(color-mix(in srgb, var(--surface-soft) 82%, transparent), color-mix(in srgb, var(--surface-soft) 82%, transparent)),
    radial-gradient(circle at 80% 20%, rgba(36, 87, 245, 0.08), transparent 25rem);
}

.section-heading {
  display: grid;
  margin-bottom: 46px;
  align-items: end;
  gap: 60px;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
}

.section-heading h2,
.mcp-copy h2,
.discovery-copy h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 730;
  letter-spacing: -0.055em;
  line-height: 1.03;
}

.section-heading > p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.7;
}

.section-heading > p code {
  color: var(--ink);
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.workflow {
  display: grid;
  align-items: stretch;
  grid-template-columns: 1fr 38px 1fr 38px 1fr;
}

.workflow-card {
  position: relative;
  min-width: 0;
  min-height: 305px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.workflow-card.featured {
  border-color: color-mix(in srgb, var(--blue) 58%, var(--line));
  box-shadow: 0 20px 50px rgba(36, 87, 245, 0.13);
}

.workflow-card.featured::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--blue);
  content: "";
}

.workflow-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--line-strong);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 800;
}

.workflow-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 44px;
  place-items: center;
  border-radius: 13px;
  font-size: 1.05rem;
  font-weight: 900;
}

.workflow-icon-agent {
  background: #f3ecff;
  color: var(--purple);
}

.workflow-icon-api {
  background: var(--blue-soft);
  color: var(--blue);
}

.workflow-icon-human {
  background: var(--green-soft);
  color: var(--green);
}

.workflow-card h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.workflow-card p {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.65;
}

.workflow-card code {
  display: inline-flex;
  max-width: 100%;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.66rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workflow-arrow {
  display: grid;
  place-items: center;
  color: var(--line-strong);
  font-size: 1.2rem;
}

.code-workbench {
  overflow: hidden;
  border: 1px solid #273248;
  border-radius: 18px;
  background: var(--code);
  box-shadow: var(--shadow-lg);
}

.code-tabs {
  display: flex;
  padding: 0 14px;
  overflow-x: auto;
  border-bottom: 1px solid var(--code-line);
  scrollbar-width: thin;
}

.code-tabs button {
  position: relative;
  display: inline-flex;
  min-width: max-content;
  min-height: 62px;
  padding: 0 18px;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  color: #7f8ba0;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
}

.code-tabs button::after {
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 2px;
  background: var(--blue);
  content: "";
  opacity: 0;
}

.code-tabs button[aria-selected="true"] {
  color: #f2f5fb;
}

.code-tabs button[aria-selected="true"]::after {
  opacity: 1;
}

.language-mark {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 6px;
  color: #0b1020;
  font-size: 0.58rem;
  font-weight: 950;
}

.language-js {
  background: #f5d145;
}

.language-php {
  background: #8799dc;
  font-size: 0.53rem;
}

.language-python {
  background: #65b7e8;
}

.language-curl {
  background: #d0d7e4;
}

.code-panel[hidden] {
  display: none;
}

.code-panel-top,
.config-window-top {
  display: flex;
  min-height: 48px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--code-line);
  background: #11192a;
  color: #7e8aa0;
  font-size: 0.7rem;
  font-weight: 750;
}

.copy-button {
  display: inline-flex;
  min-height: 30px;
  padding: 5px 9px;
  align-items: center;
  gap: 6px;
  border: 1px solid #344058;
  border-radius: 7px;
  background: #182135;
  color: #aeb9cb;
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 800;
}

.copy-button:hover,
.copy-button.is-copied {
  border-color: #5875ba;
  color: #fff;
}

.code-panel pre,
.config-window pre,
.manifest-window pre {
  margin: 0;
  overflow: auto;
  scrollbar-color: #3a465d transparent;
}

.code-panel pre {
  min-height: 525px;
  max-height: 640px;
  padding: 28px 30px 34px;
}

.code-panel code,
.config-window code,
.manifest-window code {
  color: var(--code-text);
  font-size: 0.75rem;
  line-height: 1.75;
  tab-size: 2;
}

.quickstart-note {
  display: flex;
  max-width: 920px;
  margin: 22px auto 0;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
}

.quickstart-note > span {
  display: grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--blue);
  font-family: Georgia, serif;
  font-size: 0.72rem;
  font-weight: 900;
}

.quickstart-note p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.65;
}

.quickstart-note code {
  color: var(--ink);
}

.quickstart-note a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

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

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

#long-handoff .quickstart-note {
  margin-top: 18px;
}

.resource-card {
  position: relative;
  display: flex;
  min-height: 350px;
  padding: 26px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 96px;
}

.resource-card::after {
  position: absolute;
  top: -60px;
  right: -80px;
  width: 160px;
  height: 160px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
  opacity: 0.55;
}

.resource-card-primary {
  border-color: color-mix(in srgb, var(--blue) 48%, var(--line));
  background:
    radial-gradient(circle at 100% 0, rgba(36, 87, 245, 0.11), transparent 13rem),
    var(--surface);
}

.resource-card-top {
  display: flex;
  margin-bottom: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.resource-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.resource-icon-dark {
  background: var(--ink);
  color: var(--page);
  font-size: 1rem;
}

.resource-icon-yellow {
  background: #fff4b8;
  color: #6e5300;
}

.resource-icon-purple {
  background: #f1eaff;
  color: var(--purple);
}

.resource-icon-green {
  background: var(--green-soft);
  color: var(--green);
  font-size: 1rem;
}

.resource-icon-cyan {
  background: #e0f8fb;
  color: var(--cyan);
  font-size: 1.1rem;
}

html[data-theme="dark"] .resource-icon-agent,
html[data-theme="dark"] .resource-icon-yellow,
html[data-theme="dark"] .resource-icon-purple,
html[data-theme="dark"] .resource-icon-cyan,
html[data-theme="dark"] .workflow-icon-agent {
  filter: brightness(0.72) saturate(1.15);
}

.resource-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
}

.resource-state i {
  color: var(--green);
}

.resource-card h3 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.resource-card p {
  margin: 11px 0 22px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.66;
}

.resource-card p code {
  color: var(--ink);
  font-size: 0.78rem;
}

.resource-code {
  width: fit-content;
  max-width: 100%;
  margin-top: auto;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--muted);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.63rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-code span {
  margin-right: 6px;
  color: var(--green);
  font-weight: 850;
}

.resource-card > a {
  display: inline-flex;
  margin-top: 18px;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 0.73rem;
  font-weight: 850;
  text-decoration: none;
}

.resource-card > a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resource-card > a.resource-secondary-link {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.67rem;
}

.mcp-section {
  position: relative;
  overflow: hidden;
  border-block: 1px solid #1f2a3d;
  background:
    radial-gradient(circle at 15% 20%, rgba(36, 87, 245, 0.23), transparent 27rem),
    #09101c;
  color: #eef3fb;
}

.mcp-section::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.023) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.023) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  pointer-events: none;
}

.mcp-layout {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 90px;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
}

.mcp-copy .eyebrow {
  color: #84a7ff;
}

.mcp-lead {
  max-width: 510px;
  margin: 23px 0 0;
  color: #98a6bb;
  font-size: 0.93rem;
  line-height: 1.72;
}

.check-list {
  display: grid;
  margin: 33px 0;
  padding: 0;
  gap: 18px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.check-list li > span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border: 1px solid rgba(84, 216, 167, 0.34);
  border-radius: 50%;
  background: rgba(84, 216, 167, 0.1);
  color: #65d8a7;
  font-size: 0.65rem;
  font-weight: 900;
}

.check-list div {
  display: grid;
}

.check-list strong {
  font-size: 0.81rem;
}

.check-list small {
  margin-top: 2px;
  color: #8796ab;
  font-size: 0.72rem;
}

.text-link {
  color: #9bb5ff;
  font-size: 0.77rem;
  font-weight: 850;
  text-decoration: none;
}

.text-link:hover {
  color: #fff;
}

.config-window {
  overflow: hidden;
  border: 1px solid #2b3850;
  border-radius: 17px;
  background: #070b13;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.config-window-top {
  min-height: 52px;
  background: #0d1422;
}

.copy-button-light {
  background: #172033;
}

.config-window pre {
  min-height: 390px;
  padding: 28px 30px;
}

.config-window-bottom {
  display: flex;
  min-height: 48px;
  padding: 0 19px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--code-line);
  color: #738097;
  font-size: 0.66rem;
}

.config-window-bottom span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #72d9ad;
}

.discovery-card {
  position: relative;
  display: grid;
  padding: 58px;
  overflow: hidden;
  align-items: center;
  gap: 70px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 80% 10%, rgba(36, 87, 245, 0.12), transparent 22rem),
    var(--surface);
  box-shadow: var(--shadow-lg);
  grid-template-columns: minmax(0, 0.85fr) minmax(440px, 1.15fr);
}

.discovery-card::before {
  position: absolute;
  top: -160px;
  left: -130px;
  width: 330px;
  height: 330px;
  border: 1px solid var(--line);
  border-radius: 50%;
  content: "";
}

.ai-ready-badge-dark {
  margin-bottom: 25px;
}

.discovery-copy {
  position: relative;
  z-index: 1;
}

.discovery-copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.manifest-links {
  display: grid;
  margin-top: 28px;
  gap: 9px;
}

.manifest-links a {
  display: flex;
  min-height: 45px;
  padding: 10px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
  text-decoration: none;
}

.manifest-links a:hover {
  border-color: var(--blue);
}

.manifest-links code {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.67rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.manifest-links span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 800;
}

.manifest-window {
  overflow: hidden;
  border: 1px solid #29364d;
  border-radius: 15px;
  background: var(--code);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
}

.manifest-window-top {
  display: flex;
  min-height: 48px;
  padding-inline: 18px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--code-line);
  color: #8b98ad;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.66rem;
}

.valid-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #69d3a5;
}

.manifest-window pre {
  padding: 25px 26px 30px;
}

.manifest-window code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.compact-heading {
  margin-bottom: 36px;
}

.deep-link-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.deep-link-row {
  display: grid;
  min-height: 76px;
  padding: 18px 22px;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.72fr 1.5fr 1fr;
}

.deep-link-row:last-child {
  border-bottom: 0;
}

.deep-link-head {
  min-height: 48px;
  padding-block: 12px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deep-link-row > span {
  color: var(--muted);
  font-size: 0.73rem;
}

.deep-link-row > span:first-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}

.deep-link-row code {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
}

.route-dot-blue {
  background: var(--blue);
}

.route-dot-green {
  background: var(--green);
}

.route-dot-purple {
  background: var(--purple);
}

.final-cta {
  display: flex;
  padding-block: 108px 120px;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.final-cta .ai-ready-badge {
  margin-bottom: 22px;
}

.final-cta h2 {
  max-width: 750px;
}

.final-cta-actions {
  display: flex;
  flex: 0 0 auto;
  padding-bottom: 3px;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-footer {
  padding-block: 55px 26px;
  border-top: 1px solid #263248;
  background: #09101c;
  color: #edf2fa;
}

.footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand .site-brand-mark {
  border-color: #2b3850;
  background: #0d1523;
}

.footer-brand .site-brand-copy small {
  color: #7f8da2;
}

.footer-main nav {
  display: grid;
  flex: 0 1 560px;
  gap: 50px;
  grid-template-columns: repeat(3, 1fr);
}

.footer-main nav div {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-main nav strong {
  margin-bottom: 5px;
  color: #e8edf6;
  font-size: 0.69rem;
}

.footer-main nav a {
  color: #8290a5;
  font-size: 0.69rem;
  text-decoration: none;
}

.footer-main nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  margin-top: 48px;
  padding-top: 20px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #202b3e;
  color: #667389;
  font-size: 0.63rem;
}

button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--blue) 48%, transparent);
  outline-offset: 3px;
}

@media (max-width: 1050px) {
  .top-nav {
    display: none;
  }

  .header-actions {
    margin-left: auto;
  }

  .hero {
    min-height: auto;
    padding-block: 78px;
    gap: 46px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-console {
    width: min(100%, 720px);
    transform: none;
  }

  .resource-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mcp-layout {
    gap: 55px;
    grid-template-columns: 0.85fr 1.15fr;
  }

  .discovery-card {
    padding: 44px;
    gap: 42px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .section {
    padding-block: 82px;
  }

  .section-heading {
    margin-bottom: 36px;
    align-items: start;
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .section-heading > p {
    max-width: 660px;
  }

  .workflow {
    gap: 13px;
    grid-template-columns: 1fr;
  }

  .workflow-card {
    min-height: 270px;
  }

  .workflow-arrow {
    min-height: 24px;
    transform: rotate(90deg);
  }

  .mcp-layout,
  .discovery-card {
    grid-template-columns: 1fr;
  }

  .mcp-layout {
    gap: 45px;
  }

  .mcp-copy {
    max-width: 640px;
  }

  .discovery-card {
    gap: 38px;
  }

  .deep-link-row {
    gap: 14px;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .deep-link-row > span:last-child {
    display: none;
  }

  .footer-main {
    flex-direction: column;
  }

  .footer-main nav {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(100% - 30px, var(--shell));
  }

  .header-inner {
    min-height: 66px;
    gap: 12px;
  }

  .site-brand-mark {
    width: 39px;
    height: 39px;
  }

  .site-brand-mark img {
    width: 38px;
    height: 38px;
  }

  .site-brand-copy small,
  .theme-picker {
    display: none;
  }

  .header-cta {
    min-height: 36px;
    padding-inline: 11px;
    font-size: 0.7rem;
  }

  .hero {
    padding-block: 58px 66px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }

  .discovery-line {
    align-items: flex-start;
  }

  .hero-console {
    border-radius: 14px;
  }

  .console-topbar {
    padding-inline: 12px;
  }

  .console-topbar > span:nth-child(2),
  .console-footer span:last-child {
    display: none;
  }

  .console-request {
    padding-inline: 8px 12px;
    grid-template-columns: 23px minmax(0, 1fr);
  }

  .console-request code,
  .console-response code {
    font-size: 0.65rem;
  }

  .console-response {
    padding-inline: 25px 14px;
  }

  .signal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-grid div {
    min-height: 82px;
    padding: 17px;
    border-bottom: 1px solid var(--line);
  }

  .signal-grid div:nth-child(2n) {
    border-right: 1px solid var(--line);
  }

  .signal-grid div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading h2,
  .mcp-copy h2,
  .discovery-copy h2,
  .final-cta h2 {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .workflow-card {
    padding: 24px;
  }

  .code-tabs {
    padding-inline: 6px;
  }

  .code-tabs button {
    min-height: 56px;
    padding-inline: 12px;
  }

  .code-panel pre {
    min-height: 500px;
    padding: 23px 18px 28px;
  }

  .code-panel code,
  .config-window code,
  .manifest-window code {
    font-size: 0.68rem;
  }

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

  .resource-card {
    min-height: 325px;
  }

  .mcp-layout {
    width: min(100% - 30px, var(--shell));
  }

  .config-window pre {
    min-height: 360px;
    padding: 22px 17px;
  }

  .discovery-card {
    padding: 27px 20px 20px;
    border-radius: 18px;
  }

  .manifest-window pre {
    padding: 21px 17px 25px;
  }

  .deep-link-head {
    display: none;
  }

  .deep-link-row {
    padding: 17px;
    align-items: start;
    gap: 9px;
    grid-template-columns: 1fr;
  }

  .deep-link-row code {
    padding-left: 18px;
    font-size: 0.61rem;
  }

  .final-cta {
    padding-block: 72px 82px;
  }

  .final-cta-actions {
    width: 100%;
  }

  .footer-main nav {
    gap: 26px;
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-main nav div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .header-cta span {
    display: none;
  }

  .hero-buttons {
    gap: 9px;
  }

  .signal-grid strong {
    font-size: 0.88rem;
  }

  .signal-grid span {
    font-size: 0.65rem;
  }
}
