:root {
  --bg: #06070a;
  --panel: #101216;
  --panel-soft: #171a20;
  --panel-strong: #0b0d10;
  --ink: #f7f3eb;
  --muted: #a5a39e;
  --quiet: #6f706d;
  --line: #292d35;
  --accent: #ffdf6e;
  --accent-2: #f36d38;
  --accent-ink: #141006;
  --green: #93f0bc;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 38px 100px rgb(0 0 0 / 48%);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 16% 12%, rgb(255 223 110 / 14%), transparent 24%),
    radial-gradient(circle at 76% 6%, rgb(243 109 56 / 12%), transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgb(247 243 235 / 4%) 1px, transparent 1px),
    linear-gradient(180deg, rgb(247 243 235 / 4%) 1px, transparent 1px);
  background-size: 92px 92px;
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: 0.04;
  background-image:
    linear-gradient(45deg, rgb(247 243 235) 25%, transparent 25%),
    linear-gradient(-45deg, rgb(247 243 235) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgb(247 243 235) 75%),
    linear-gradient(-45deg, transparent 75%, rgb(247 243 235) 75%);
  background-size: 4px 4px;
}

a {
  color: inherit;
}

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

button,
input {
  font: inherit;
}

.shell {
  width: min(1280px, calc(100% - 56px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 20px;
  z-index: 40;
  pointer-events: none;
}

.nav {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: 999px;
  padding: 6px 8px 6px 10px;
  background: rgb(9 10 13 / 70%);
  box-shadow: 0 18px 70px rgb(0 0 0 / 28%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  pointer-events: auto;
}

.brand,
.nav-links,
.footer nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 760;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-ink);
  background: var(--accent);
  font-size: 11px;
  font-weight: 860;
  letter-spacing: 0;
}

.nav-links {
  gap: 4px;
}

.nav-links a,
.footer nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 13px;
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.footer nav a:hover,
.footer nav a:focus-visible {
  color: var(--ink);
  background: rgb(247 243 235 / 8%);
  outline: none;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(480px, 1.06fr);
  gap: 50px;
  align-items: center;
  padding: 82px 0 50px;
}


.hero-copy,
.hero-gallery,
.hero-install,
.usage-copy,
.usage-steps,
.usage-card,
.works-copy,
.agent-board,
.outputs-copy,
.output-list,
.floating-previews,
.builder-copy,
.builder-panel,
.examples-head,
.support-copy,
.support-visual {
  min-width: 0;
}
.hero-copy {
  max-width: 600px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 11.5ch;
  margin-bottom: 22px;
  font-size: 92px;
  line-height: 0.9;
  font-weight: 880;
}

.hero-subtitle {
  max-width: 520px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.12;
  font-weight: 760;
}

.hero-body {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 780;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:active,
.copy-button:active {
  transform: translateY(1px);
}

.button:focus-visible,
.copy-button:focus-visible,
input:focus-visible {
  outline: 3px solid rgb(255 223 110 / 36%);
  outline-offset: 3px;
}

.button.primary,
.primary {
  color: var(--accent-ink);
  background: var(--accent);
  box-shadow: 0 18px 48px rgb(255 223 110 / 18%);
}

.button.primary:hover,
.primary:hover {
  background: #ffe98f;
}

.button.secondary,
.secondary {
  color: var(--ink);
  border-color: rgb(247 243 235 / 13%);
  background: rgb(247 243 235 / 7%);
}

.button.secondary:hover,
.secondary:hover {
  border-color: rgb(255 223 110 / 52%);
  background: rgb(247 243 235 / 11%);
}

.hero-install {
  max-width: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  border: 1px solid rgb(247 243 235 / 11%);
  border-radius: var(--radius-sm);
  padding: 14px;
  background:
    linear-gradient(135deg, rgb(255 223 110 / 10%), transparent 34%),
    rgb(8 9 12 / 78%);
  box-shadow:
    inset 0 1px 0 rgb(247 243 235 / 8%),
    0 18px 52px rgb(0 0 0 / 28%);
}

.hero-install div {
  min-width: 0;
  display: grid;
  gap: 6px;
}

.hero-install span,
.command-head span,
.preview-code span {
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-install code,
.command-output code,
.preview-code code {
  color: var(--ink);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  line-height: 1.65;
}

.hero-install code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-gallery {
  position: relative;
  min-height: clamp(480px, 49vw, 640px);
}

.hero-frame,
.preview-card,
.support-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-frame-main {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hero-frame-main img {
  width: 100%;
  height: 100%;
  padding: clamp(8px, 2vw, 24px);
  object-fit: contain;
  filter: saturate(0.92) contrast(1.04);
}

.preview-card img,
.support-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.sponsors {
  padding: 82px 0 30px;
}

.sponsors h2 {
  margin-bottom: 30px;
  font-size: 34px;
  line-height: 1.12;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.sponsor-grid span {
  min-height: 92px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(247 243 235 / 9%);
  border-radius: var(--radius-sm);
  color: var(--muted);
  background: rgb(16 18 22 / 68%);
  font-size: 18px;
  font-weight: 780;
}
.usage {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 58px;
  align-items: start;
  padding: 100px 0 86px;
}

.usage-copy {
  position: sticky;
  top: 112px;
}

.usage-copy h2 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 0.96;
  font-weight: 860;
}

.usage-copy p {
  max-width: 610px;
  color: var(--muted);
  font-size: 20px;
}

.usage-steps {
  display: grid;
  gap: 14px;
}

.usage-card {
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius);
  padding: 22px;
  background: rgb(16 18 22 / 76%);
  box-shadow: 0 26px 74px rgb(0 0 0 / 24%);
}

.usage-card-head {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.usage-card-head span {
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  font-weight: 780;
}

.usage-card h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.usage-card p {
  margin-bottom: 16px;
  color: var(--muted);
}

.usage-card pre {
  margin: 0;
  overflow: auto;
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius-sm);
  padding: 18px;
  background: #07090c;
}
.works {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: 52px;
  align-items: center;
  padding: 104px 0 112px;
}

.works h2,
.usage-copy h2,
.outputs h2,
.builder h2,
.examples h2,
.support h2 {
  margin-bottom: 18px;
  font-size: 64px;
  line-height: 0.96;
  font-weight: 860;
}

.works p,
.outputs-copy p,
.builder-copy p,
.support-copy p {
  max-width: 610px;
  color: var(--muted);
  font-size: 20px;
}

.agent-board {
  display: grid;
  gap: 12px;
}

.agent-board article {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius-sm);
  padding: 20px;
  background: rgb(16 18 22 / 70%);
}

.agent-board strong {
  font-size: 20px;
}

.agent-board span,
.output-list p,
.example-grid p {
  color: var(--muted);
}

.manifesto {
  border-block: 1px solid rgb(247 243 235 / 8%);
  background:
    radial-gradient(circle at 26% 22%, rgb(255 223 110 / 18%), transparent 28%),
    radial-gradient(circle at 78% 70%, rgb(243 109 56 / 13%), transparent 30%),
    #08090d;
}

.manifesto-inner {
  min-height: 650px;
  display: grid;
  place-items: center;
}

.manifesto h2 {
  display: grid;
  gap: 6px;
  margin: 0;
  text-align: center;
  font-size: 118px;
  line-height: 0.86;
  font-weight: 880;
}

.manifesto h2 span:nth-child(2) {
  color: var(--muted);
}

.outputs {
  padding: 126px 0 90px;
}

.outputs-copy {
  max-width: 780px;
  margin-bottom: 54px;
}

.output-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: 64px;
  align-items: start;
}

.output-list {
  display: grid;
  gap: 12px;
}

.output-list article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius-sm);
  padding: 22px;
  background: rgb(16 18 22 / 70%);
}

.output-list article > span {
  color: var(--accent);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-weight: 780;
}

.output-list h3,
.example-grid h3 {
  margin-bottom: 8px;
  font-size: 23px;
}

.floating-previews {
  position: sticky;
  top: 104px;
  min-height: 720px;
}

.preview-card {
  position: absolute;
}

.preview-one {
  top: 0;
  right: 0;
  width: 390px;
  height: 270px;
}

.preview-two {
  right: 72px;
  bottom: 44px;
  width: 340px;
  height: 246px;
}

.preview-code {
  left: 0;
  top: 248px;
  width: 460px;
  padding: 22px;
  background: rgb(8 9 12 / 86%);
}

.preview-code pre,
.command-output pre {
  margin: 0;
  overflow: auto;
}

.builder {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  gap: 54px;
  align-items: start;
  padding: 118px 0;
}

.builder-panel {
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius);
  padding: 18px;
  background: rgb(16 18 22 / 76%);
  box-shadow: var(--shadow);
}

.command-form {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
}

.command-form label,
.command-form fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  border: 0;
  padding: 0;
}

.command-form label > span,
.command-form legend {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.command-form input[type="text"],
.command-form input:not([type]) {
  min-height: 48px;
  width: 100%;
  border: 1px solid rgb(247 243 235 / 12%);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  color: var(--ink);
  background: rgb(6 7 10 / 78%);
}

.command-form fieldset {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.command-form legend {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.command-form fieldset label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  background: rgb(6 7 10 / 48%);
}

.command-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.command-output {
  overflow: hidden;
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius-sm);
  background: #07090c;
}

.command-head {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgb(247 243 235 / 9%);
  padding: 0 16px;
  background: #10131a;
}

.copy-button {
  min-height: 36px;
  border: 1px solid rgb(247 243 235 / 12%);
  border-radius: 999px;
  padding: 0 13px;
  color: var(--ink);
  background: rgb(247 243 235 / 8%);
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.copy-button:hover {
  background: rgb(255 223 110 / 18%);
}

.command-output pre {
  padding: 24px;
}

.examples {
  padding: 32px 0 118px;
}

.examples-head {
  max-width: 850px;
  margin-bottom: 34px;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.example-grid article {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgb(247 243 235 / 10%);
  border-radius: var(--radius);
  padding: 24px;
  background:
    linear-gradient(180deg, transparent, rgb(0 0 0 / 28%)),
    rgb(16 18 22 / 76%);
}

.example-grid article:nth-child(2) {
  transform: translateY(34px);
}

.example-grid article:nth-child(4) {
  transform: translateY(68px);
  background:
    linear-gradient(135deg, rgb(255 223 110 / 92%), rgb(243 109 56 / 88%));
}

.example-grid article:nth-child(4) h3,
.example-grid article:nth-child(4) p {
  color: var(--accent-ink);
}

.support {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  gap: 64px;
  align-items: center;
  padding: 150px 0 110px;
}

.support-visual {
  height: 520px;
}

.footer {
  min-height: 154px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid rgb(247 243 235 / 10%);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
}

.footer nav {
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-install,
  .hero-frame-main,
  .usage-copy,
  .usage-steps,
  .usage-card,
  .sponsors,
  .works-copy,
  .agent-board,
  .manifesto h2 span,
  .outputs-copy,
  .output-list article,
  .preview-card,
  .builder-copy,
  .builder-panel,
  .example-grid article,
  .support-copy,
  .support-visual {
    animation: rise 720ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  .hero-install { animation-delay: 70ms; }
  .hero-frame-main { animation-delay: 140ms; }
  .manifesto h2 span:nth-child(2) { animation-delay: 80ms; }
  .manifesto h2 span:nth-child(3) { animation-delay: 160ms; }

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1120px) {
  .hero,
  .usage,
  .works,
  .output-layout,
  .builder,
  .support {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-gallery,
  .floating-previews {
    min-height: 620px;
  }

  h1 {
    max-width: 11.5ch;
    font-size: 72px;
  }

  .works h2,
  .usage-copy h2,
  .outputs h2,
  .builder h2,
  .examples h2,
  .support h2 {
    font-size: 50px;
  }

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

  .floating-previews {
    position: relative;
    top: auto;
  }

  .support-visual {
    height: 420px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: min(100% - 28px, 1280px);
  }

  .site-header {
    top: 10px;
  }

  .nav {
    align-items: stretch;
    border-radius: 24px;
    flex-direction: column;
    padding: 10px;
  }

  .nav-links {
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a {
    min-height: 36px;
    padding: 0 10px;
  }

  .hero {
    gap: 16px;
    padding: 22px 0 14px;
  }

  h1 {
    max-width: 100%;
    font-size: 40px;
    line-height: 0.95;
  }

  .hero-subtitle {
    font-size: 21px;
  }

  .hero-body,
  .works p,
  .outputs-copy p,
  .builder-copy p,
  .support-copy p {
    font-size: 17px;
  }

  .hero-body {
    line-height: 1.42;
  }

  .hero-actions,
  .support-actions {
    width: 100%;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 0 12px;
    font-size: 14px;
  }

  .support-actions .button {
    flex: 1 1 0;
  }

  .hero-install {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 18px;
    padding: 12px;
  }

  .hero-install code {
    font-size: 12px;
    line-height: 1.45;
  }

  .hero-gallery {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-frame-main img {
    padding: 6px;
  }

  .hero-frame-main {
    inset: 0;
  }

  .sponsors {
    padding-top: 42px;
  }

  .sponsor-grid,
  .example-grid,
  .command-form fieldset {
    grid-template-columns: 1fr;
  }

  .sponsor-grid span {
    min-height: 68px;
  }

  .works,
  .usage,
  .outputs,
  .builder,
  .support {
    padding: 76px 0;
  }

  .works h2,
  .usage-copy h2,
  .outputs h2,
  .builder h2,
  .examples h2,
  .support h2 {
    font-size: 38px;
  }

  .agent-board article,
  .output-list article {
    grid-template-columns: 1fr;
  }

  .usage-copy {
    position: static;
  }

  .manifesto-inner {
    min-height: 420px;
  }

  .manifesto h2 {
    font-size: 50px;
  }

  .floating-previews {
    display: grid;
    gap: 12px;
    min-height: auto;
  }

  .preview-card {
    position: static;
    width: auto;
    height: auto;
  }

  .preview-one,
  .preview-two {
    height: 230px;
  }

  .example-grid article,
  .example-grid article:nth-child(2),
  .example-grid article:nth-child(4) {
    min-height: 220px;
    transform: none;
  }

  .support-visual {
    height: 300px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 32px 0;
  }

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

@media (max-width: 430px) {
  .button {
    min-height: 46px;
    padding: 0 14px;
  }

  .hero-actions .button {
    flex-basis: calc(50% - 8px);
  }

  .command-output pre,
  .preview-code {
    padding: 18px;
  }
}
