* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,textarea {
  font: inherit;
  border-radius: 0;
}

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

button,summary {
  cursor: pointer;
}

button {
  color: inherit;
}

h1,h2,h3,p {
  margin: 0;
}

h1,h2,h3 {
  font-weight: 500;
}

ul,ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible,textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

[hidden] {
  display: none!important;
}

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

.skip {
  position: fixed;
  z-index: 99;
  top: 8px;
  left: 8px;
  padding: 12px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  display: flex;
  align-items: center;
}

.deploy-button,.button-secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background .15s,transform .15s;
}

.deploy-button {
  background: var(--button);
  color: var(--button-ink);
}

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

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

footer {
  border-top: 1px solid var(--line);
  padding-block: 24px 32px;
  color: var(--muted);
}

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

  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
  }

}

@media (max-width:700px) {
  header {
    height: 62px;
  }

  .wordmark {
    font-size: 21px;
  }

  .deploy-button,.button-secondary {
    font-size: 13px;
    padding-inline: 16px;
  }

}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('/releases/20261022074552-892710690/fonts/jetbrains-mono-variable.ttf') format('truetype');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #faf8fc;
  --ink: #352543;
  --muted: #776981;
  --accent: #8951b8;
  --line: #d3c6df;
  --button: #e5b7db;
  --button-ink: #352543;
  --font: 'JetBrains Mono',monospace;
}

body {
  font-size: 14px;
}

header,main,footer {
  width: min(1120px,calc(100% - 80px));
  margin-inline: auto;
}

header {
  height: 64px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.5px;
  gap: 8px;
}

.wordmark img {
  width: 26px;
  height: 26px;
}

.deploy-button,.button-secondary {
  font-size: 13px;
  letter-spacing: 0;
  font-weight: 600;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid #97739b;
  box-shadow: 3px 3px 0 #e2d7e8;
  gap: 20px;
}

.button-secondary {
  background: #f3edf8;
  border-color: #b7a1c9;
}

.deploy-button:hover,.button-secondary:hover {
  background: #efcbe8;
  transform: translateY(-1px);
}

header .deploy-button {
  font-size: 12px;
  padding: 7px 14px;
  min-height: 34px;
}

footer {
  font-size: 12px;
}

@media (max-width:1050px) {
  header,main,footer {
    width: calc(100% - 56px);
  }

  .deploy-button,.button-secondary {
    padding-inline: 12px;
    font-size: 12px;
  }

}

@media (max-width:700px) {
  header,main,footer {
    width: calc(100% - 40px);
  }

  header {
    height: 60px;
  }

  .deploy-button,.button-secondary {
    font-size: 11px;
    padding-inline: 12px;
    gap: 14px;
  }

}

/* Keep the common documentation action available on both pages. */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
header [data-copy-agent-docs] {
  min-height: 34px;
  padding: 7px 12px;
  font-size: 12px;
  white-space: nowrap;
}
.agent-docs-dialog {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.agent-docs-dialog::backdrop { background: rgb(53 37 67 / 35%); }
.agent-docs-dialog h2 { font-size: 20px; }
.agent-docs-dialog p { margin-block: 16px; }
.agent-docs-dialog textarea {
  display: block;
  width: 100%;
  height: 45dvh;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: 12px/1.6 var(--font);
  resize: vertical;
}
@media (max-width: 700px) {
  header {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 12px;
  }
  header .header-actions, header .auth-actions { gap: 12px; }
  header [data-copy-agent-docs] { font-size: 11px; padding-inline: 8px; }
}
