:root {
  color-scheme: light;
  --canvas: #fcfcfc;
  --surface: #fff;
  --soft: #f5f5f3;
  --text: #171717;
  --secondary: #626262;
  --line: #e5e5e2;
  --lime: #d2f898;
  --blue: #2563eb;
  --blue-soft: #eef4ff;
  --violet: #7c3aed;
  --violet-soft: #f4efff;
  --teal: #0f766e;
  --teal-soft: #eaf8f4;
  --amber: #b45309;
  --amber-soft: #fff5e6;
  --coral: #c2410c;
  --coral-soft: #fff1e8;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.6;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
p {
  color: var(--secondary);
}
.wrap {
  width: min(1120px, calc(100% - 64px));
  margin: auto;
}
.skip {
  position: fixed;
  z-index: 99;
  left: 16px;
  top: 16px;
  padding: 12px 20px;
  background: var(--text);
  color: var(--canvas);
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}
.nav-shell {
  border-bottom: 1px solid var(--line);
  background: var(--canvas);
}
nav {
  width: min(1200px, calc(100% - 64px));
  min-height: 88px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wordmark {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.045em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.wordmark span {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--secondary);
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 0.8125rem;
  color: var(--secondary);
}
.source-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  font-weight: 550;
  min-height: 44px;
}
.source-link span {
  font-size: 1.125rem;
}
.hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 88px;
}
.eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.13em;
  font-weight: 650;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 9px;
}
.eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
}
h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.375rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1.08;
  margin: 24px 0;
}
h1 > span {
  color: var(--secondary);
}
.lede {
  font-size: 1.0625rem;
  line-height: 1.8;
  max-width: 32rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 13px 20px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--surface);
  transition:
    background 0.15s,
    transform 0.15s;
}
.button.primary {
  background: var(--lime);
  color: #111;
  border-color: transparent;
}
.button:active {
  transform: scale(0.98);
}
.text-link {
  font-size: 0.8125rem;
  font-weight: 550;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.small-note {
  font-size: 0.6875rem;
  margin-top: 19px;
}
.flow-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 16px 44px #00000005;
  background: var(--surface);
  min-width: 0;
}
.preview-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--secondary);
  font-size: 0.5625rem;
}
.window-dots {
  display: flex;
  gap: 4px;
}
.window-dots i {
  width: 5px;
  height: 5px;
  background: var(--line);
  border-radius: 50%;
}
.preview-tag {
  font-size: 0.4375rem;
  letter-spacing: 0.1em;
  margin-left: auto;
  color: var(--secondary);
}
.preview-body {
  padding: 30px 24px;
}
.preview-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.preview-row > div {
  min-width: 0;
}
.preview-row strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.preview-row small {
  display: block;
  font-size: 0.625rem;
  color: var(--secondary);
  margin-top: 3px;
}
.icon-box {
  width: 34px;
  height: 34px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  font-size: 0.6875rem;
  font-weight: 600;
}
.blue {
  color: var(--blue);
  background: var(--blue-soft);
}
.violet {
  color: var(--violet);
  background: var(--violet-soft);
}
.teal {
  color: var(--teal);
  background: var(--teal-soft);
}
.amber {
  color: var(--amber);
  background: var(--amber-soft);
}
.coral {
  color: var(--coral);
  background: var(--coral-soft);
}
.connector {
  display: block;
  height: 22px;
  border-left: 1px dashed var(--line);
  margin: 5px 0 5px 17px;
}
.row-check {
  margin-left: auto;
  color: var(--secondary);
  font-size: 0.8125rem;
}
.preview-bottom {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.5625rem;
  color: var(--secondary);
}
.status-dot {
  width: 5px;
  height: 5px;
  background: var(--teal);
  border-radius: 50%;
  flex: none;
}
.stack-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 22px;
  font-size: 0.625rem;
  color: var(--secondary);
}
.stack-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.stack-strip b {
  font-weight: 550;
  color: var(--text);
}
.stack-strip small {
  margin-left: auto;
  font-size: 0.5625rem;
}
.section {
  padding-block: 96px;
  scroll-margin-top: 32px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}
.section-heading > p {
  max-width: 300px;
  font-size: 0.8125rem;
  line-height: 1.8;
}
h2 {
  font-size: clamp(2rem, 3.2vw, 2.875rem);
  line-height: 1.15;
  letter-spacing: -0.055em;
  font-weight: 600;
  margin-top: 16px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.step-number {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  color: var(--secondary);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.025em;
}
.steps h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}
.steps p {
  font-size: 0.8125rem;
  line-height: 1.8;
}
.playbook-section {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.guide-card {
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  transition:
    border-color 0.15s,
    transform 0.15s;
  min-width: 0;
}
.guide-card .icon-box {
  font-size: 1.25rem;
}
.guide-card h3 {
  font-size: 0.8125rem;
  margin-top: 22px;
  display: flex;
  align-items: start;
  gap: 8px;
  justify-content: space-between;
}
.guide-card h3 span {
  color: var(--secondary);
  font-size: 0.75rem;
}
.guide-card p {
  font-size: 0.6875rem;
  line-height: 1.9;
  margin-top: 9px;
}
.lessons {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 100px;
}
.lessons > div > p {
  font-size: 0.8125rem;
  max-width: 18rem;
  margin-top: 18px;
}
dl {
  margin: 0;
}
dl > div {
  border-bottom: 1px solid var(--line);
  padding: 21px 0;
}
dl > div:first-child {
  padding-top: 0;
}
dt {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
dd {
  margin: 7px 0 0;
  color: var(--secondary);
  font-size: 0.75rem;
  line-height: 1.9;
}
input,
select,
textarea {
  font: inherit;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.builder-note {
  font-size: 0.8125rem;
  line-height: 1.8;
}
.prompt-builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 28px;
  align-items: start;
}
.prompt-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}
.prompt-fields label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 500;
}
.prompt-fields .wide {
  grid-column: 1 / -1;
}
.stack-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.select-control {
  display: block;
  position: relative;
  width: 100%;
}
.select-control::after {
  content: "";
  position: absolute;
  right: 17px;
  top: calc(50% - 5px);
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--secondary);
  border-bottom: 2px solid var(--secondary);
  transform: rotate(45deg);
  pointer-events: none;
}
.prompt-fields .select-control select {
  appearance: none;
  padding-right: 40px;
  cursor: pointer;
}
.prompt-fields input:not([type="checkbox"]),
.prompt-fields select,
.prompt-fields textarea {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
}
.prompt-fields textarea {
  resize: vertical;
}
.prompt-fields .existing-choice {
  flex-direction: row;
  align-items: center;
  min-height: 44px;
}
.existing-choice input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--teal);
}
.prompt-output pre {
  max-height: 600px;
  overflow-y: auto;
}
.prompt-output .install-note {
  color: #b6b6b6;
}
@media (max-width: 960px) {
  .prompt-builder {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 480px) {
  .prompt-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
.install-section {
  background: #202020;
  color: #fcfcfc;
}
.install-section .eyebrow,
.install-section p {
  color: #b6b6b6;
}
.install-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: center;
}
.install-grid > div > p {
  font-size: 0.8125rem;
  line-height: 1.9;
  max-width: 25rem;
  margin-top: 20px;
}
.install-grid .text-link {
  margin-top: 14px;
  color: #d2f898;
}
.install-panel {
  background: #282828;
  border: 1px solid #444;
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
}
[hidden] {
  display: none !important;
}
.client-tabs {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid #444;
}
.client-tabs button {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 8px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #c7c7c7;
  font: inherit;
  font-size: 0.6875rem;
  cursor: pointer;
}
.client-tabs button[aria-selected="true"] {
  background: #3b3b3b;
  color: #d2f898;
}
.client-instructions {
  padding: 0 18px 22px;
  font-size: 0.6875rem;
  line-height: 1.8;
}
.command-heading {
  padding: 15px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #444;
  font-size: 0.6875rem;
  color: #c7c7c7;
}
.command-heading button {
  border: 1px solid #555;
  background: #303030;
  color: #fcfcfc;
  border-radius: 6px;
  min-height: 36px;
  padding: 5px 12px;
  font-size: 0.625rem;
}
.command-heading button:active {
  background: #444;
}
pre {
  margin: 0;
  padding: 22px 18px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.9;
  font-size: 0.6875rem;
  color: #d2f898;
  tab-size: 2;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}
.prompt-heading {
  padding: 0 18px;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9a9a9a;
}
.prompt {
  color: #e2e2e2;
  padding-top: 9px;
}
.install-note {
  padding: 14px 18px;
  border-top: 1px solid #444;
  font-size: 0.5625rem;
}
.resources {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
}
.resources p {
  max-width: 28rem;
  font-size: 0.8125rem;
  margin-top: 18px;
  line-height: 1.9;
}
.resource-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}
.resource-actions > span {
  font-size: 0.5625rem;
  color: var(--secondary);
  text-align: center;
  margin-top: 4px;
}
footer {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding-block: 30px;
  border-top: 1px solid var(--line);
}
footer p {
  font-size: 0.625rem;
}
footer > div {
  display: flex;
  gap: 22px;
  font-size: 0.6875rem;
  color: var(--secondary);
}
.copy-status {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: var(--canvas);
  border-radius: 8px;
  padding: 0;
  font-size: 0.75rem;
  pointer-events: none;
}
.copy-status:not(:empty) {
  padding: 10px 18px;
}
@media (hover: hover) {
  .button.primary:hover {
    background: #e2fbbd;
  }
  .button:not(.primary):hover {
    background: var(--soft);
  }
  .guide-card:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
  }
  .nav-links a:hover,
  .text-link:hover,
  .source-link:hover {
    color: var(--teal);
  }
}
@media (max-width: 1050px) {
  .hero {
    gap: 36px;
    padding-top: 80px;
  }
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .install-grid,
  .lessons {
    gap: 48px;
  }
  .stack-strip small {
    margin-left: 0;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 760px) {
  .wrap,
  nav {
    width: calc(100% - 40px);
  }
  nav {
    min-height: 72px;
    gap: 16px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .wordmark {
    font-size: 1rem;
    gap: 8px;
  }
  .wordmark span {
    font-size: 0.5625rem;
  }
  .nav-links {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 48px;
    gap: 40px;
  }
  h1 {
    font-size: clamp(2.4rem, 8.5vw, 4rem);
  }
  .lede {
    font-size: 0.9375rem;
  }
  .hero-actions {
    gap: 20px;
  }
  .preview-body {
    padding: 26px 20px;
  }
  .stack-strip {
    gap: 14px;
  }
  .stack-strip > div {
    gap: 12px 18px;
  }
  .section {
    padding-block: 64px;
  }
  .section-heading {
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
  .section-heading > p {
    max-width: 30rem;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .steps h3 {
    margin-top: 12px;
  }
  .lessons,
  .install-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lessons > div > p {
    max-width: 25rem;
  }
  .resources {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }
  .resource-actions {
    min-width: 0;
    align-items: start;
  }
  .resource-actions > span {
    text-align: left;
  }
  footer {
    align-items: start;
    gap: 18px;
  }
  footer p {
    width: 100%;
    order: 3;
  }
  footer > div {
    margin-left: auto;
  }
  .preview-tag {
    display: none;
  }
}
@media (max-width: 420px) {
  .cards {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }
  .preview-row strong {
    font-size: 0.75rem;
  }
  .preview-row small {
    font-size: 0.5625rem;
  }
  .preview-row {
    gap: 10px;
  }
  .row-check {
    display: none;
  }
  .preview-bottom {
    font-size: 0.5rem;
  }
  .source-link {
    font-size: 0.75rem;
  }
  .guide-card {
    padding: 22px;
  }
  .guide-card h3 {
    font-size: 0.875rem;
  }
  footer .wordmark span {
    display: none;
  }
  footer > div {
    gap: 16px;
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #121212;
    --surface: #1b1b1b;
    --soft: #171717;
    --text: #f3f3f3;
    --secondary: #b0b0b0;
    --line: #343434;
    --blue: #93c5fd;
    --blue-soft: #1c2b42;
    --violet: #c4b5fd;
    --violet-soft: #2d2541;
    --teal: #5eead4;
    --teal-soft: #17332e;
    --amber: #fcd34d;
    --amber-soft: #3c2f1d;
    --coral: #fdba74;
    --coral-soft: #3c291e;
  }
  .flow-preview {
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  .guide-card:hover,
  .button:active {
    transform: none;
  }
}
@media (prefers-contrast: more) {
  :root {
    --secondary: var(--text);
  }
  .flow-preview,
  .guide-card,
  .install-panel {
    border-color: currentColor;
  }
  .install-section p,
  .command-heading {
    color: #fcfcfc;
  }
}
