:root {
  --ink: #141318;
  --muted: #68616f;
  --line: #e6e0ea;
  --paper: #fffdf9;
  --soft: #faf6ff;
  --accent: #19171f;
  --purple: #cfa0f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
}

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

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

.site-header,
main,
footer {
  margin: 0 auto;
  max-width: 1080px;
  width: min(calc(100% - 32px), 1080px);
}

.site-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 850;
  gap: 10px;
}

.brand img {
  border-radius: 8px;
}

nav,
footer div {
  align-items: center;
  display: flex;
  gap: 18px;
}

nav a,
footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.x-profile {
  align-items: center;
  display: inline-flex;
  gap: 6px;
}

.x-profile img {
  border-radius: 4px;
  height: 18px;
  width: 18px;
}

.hero {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  min-height: 520px;
  padding: 56px 0 64px;
}

.eyebrow {
  color: #78509a;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

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

h1 {
  font-size: 68px;
  letter-spacing: 0;
  line-height: 0.96;
  margin-bottom: 22px;
  max-width: 760px;
}

.lede {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
  margin-bottom: 30px;
  max-width: 640px;
}

.button {
  align-items: center;
  background: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: white;
  display: inline-flex;
  font-weight: 850;
  gap: 6px;
  justify-content: center;
  line-height: 1.15;
  min-height: 48px;
  padding: 0 18px;
  text-align: center;
}

.button span {
  font-size: 12px;
  font-weight: 750;
}

.hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

.button--download {
  background: #f8f1e5;
  border-color: #d9c8ad;
  color: var(--ink);
  overflow: hidden;
  padding-right: 38px;
  position: relative;
}

.button--download::after {
  background: #ff8a00;
  color: #141318;
  content: "Latest";
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  padding: 4px 20px;
  position: absolute;
  right: -22px;
  text-transform: uppercase;
  top: 6px;
  transform: rotate(35deg);
}

.button--agent {
  background: linear-gradient(135deg, #ff8a00 0%, #f05a28 45%, #141118 100%);
  border-color: #141118;
  box-shadow: 0 10px 24px rgba(240, 90, 40, 0.22);
  color: white;
}

.hero__demo {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.hero__demo video {
  aspect-ratio: 46 / 27;
  background: #111;
  display: block;
  object-fit: cover;
  width: 100%;
}

.supports,
.steps,
.pricing {
  padding: 64px 0 28px;
}

.agent-page {
  padding-bottom: 52px;
}

.agent-hero {
  border-bottom: 1px solid var(--line);
  padding: 64px 0 38px;
}

.prompt-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 34px;
  overflow: hidden;
}

.prompt-panel__bar {
  align-items: center;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  display: flex;
  font-weight: 850;
  justify-content: space-between;
  padding: 12px 14px;
}

.copy-button {
  background: var(--accent);
  border: 0;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  min-height: 36px;
  padding: 0 14px;
}

.prompt-panel pre {
  background: #141318;
  color: #fff8ed;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  max-height: 660px;
  overflow: auto;
  padding: 18px;
  white-space: pre-wrap;
}

.supports {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.supports > img {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
}

.supports h2 {
  font-size: 38px;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 20px;
}

.supports ul {
  color: var(--muted);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.6;
  list-style: none;
  margin: 0;
  padding: 0;
}

.supports li {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.supports li:last-child {
  border-bottom: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: 38px;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

.step {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  padding: 38px 0;
}

.step:last-child {
  border-bottom: 1px solid var(--line);
}

.step:nth-child(odd) img {
  order: 2;
}

.step img {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
}

.step span {
  color: #8d64ad;
  display: block;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 32px;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 12px;
}

.step p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 0;
  max-width: 420px;
}

.pricing {
  border-bottom: 1px solid var(--line);
}

.pricing__layout {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  padding: 38px 0 44px;
}

.pricing__layout > img {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 100%;
}

.plans {
  display: grid;
  gap: 14px;
}

.plan {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.plan--strong {
  border-color: var(--ink);
}

.plan__name {
  color: #8d64ad;
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.plan__price {
  color: var(--ink);
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 0;
}

.plan__price span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 750;
}

footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 14px;
  justify-content: space-between;
  padding: 28px 0 36px;
}

footer span {
  color: var(--ink);
  font-weight: 850;
}

.policy {
  border-top: 1px solid var(--line);
  padding: 58px 0 44px;
}

.policy h1 {
  font-size: 54px;
  max-width: 820px;
}

.policy-date {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 46px;
}

.policy section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr);
  padding: 28px 0;
}

.policy h2 {
  font-size: 23px;
  line-height: 1.1;
  margin-bottom: 0;
}

.policy p,
.policy li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.policy ul {
  margin: 0;
  padding-left: 20px;
}

.policy li + li {
  margin-top: 8px;
}

@media (max-width: 780px) {
  .hero,
  .supports,
  .step,
  .pricing__layout,
  .policy section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

  .hero__demo {
    order: -1;
  }

  h1 {
    font-size: 46px;
  }

  .lede {
    font-size: 17px;
  }

  .step:nth-child(odd) img {
    order: 0;
  }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 24px), 1080px);
  }

  .brand span {
    max-width: 180px;
  }

  h1 {
    font-size: 39px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .step h3 {
    font-size: 27px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  nav {
    gap: 12px;
  }

  nav a,
  footer a {
    font-size: 13px;
  }

  .policy h1 {
    font-size: 38px;
  }
}
