:root {
  color-scheme: dark;
  --bg: #07070a;
  --bg-2: #0b0b11;
  --surface: #111116;
  --surface-2: #171720;
  --surface-3: #20202a;
  --line: #2b2b35;
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f2f1f7;
  --muted: #aaa6b8;
  --quiet: #726f80;
  --accent: #7c3aed;
  --accent-2: #6d28d9;
  --cyan: #34d5ff;
  --green: #22c55e;
  --amber: #f59e0b;
  --red: #ef4444;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Roboto Mono", ui-monospace, monospace;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% -10%, rgba(124, 58, 237, 0.22), transparent 32rem),
    radial-gradient(circle at 88% 12%, rgba(52, 213, 255, 0.1), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 24px;
  background: rgba(7, 7, 10, 0.78);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 42px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #8b5cf6, var(--accent));
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: rgba(124, 58, 237, 0.65);
  background: rgba(124, 58, 237, 0.12);
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  align-content: start;
  column-gap: 44px;
  row-gap: 30px;
  padding: calc(var(--header-h) + 24px) clamp(20px, 5vw, 72px) 76px;
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 78%);
}

.hero__beam {
  position: absolute;
  width: 56vw;
  height: 56vw;
  min-width: 540px;
  min-height: 540px;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.72;
}

.hero__beam--one {
  right: -16vw;
  top: 10vh;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28), transparent 62%);
}

.hero__beam--two {
  left: 28vw;
  bottom: -42vw;
  background: radial-gradient(circle, rgba(52, 213, 255, 0.12), transparent 60%);
}

.hero__copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__section-logo {
  grid-column: 1 / -1;
  justify-self: center;
  width: clamp(104px, 18vw, 170px);
  margin: 0 auto 8px;
  filter: drop-shadow(0 22px 40px rgba(124, 58, 237, 0.28));
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4rem, 11vw, 8rem);
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.hero__lede,
.section-lede,
.section-head p {
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.24rem);
  line-height: 1.65;
}

.hero__lede {
  max-width: 600px;
  margin: 22px 0 0;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero__proof span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.product-shell {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.product-shell::before {
  content: "";
  position: absolute;
  inset: 8% -4% -8% 10%;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.34), rgba(52, 213, 255, 0.12));
  filter: blur(36px);
}

.app-window {
  min-width: 0;
  min-height: min(68vh, 680px);
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #0a0a0a;
  box-shadow: var(--shadow);
}

.app-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 14px;
  border-right: 1px solid #272727;
  background: #111;
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #272727;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.app-brand img {
  width: 28px;
  height: 28px;
}

.app-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0 -14px;
  border-bottom: 1px solid #272727;
}

.app-tabs span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.app-tabs .active {
  color: #f0f0f0;
  border-bottom: 2px solid var(--accent);
}

.mock-new {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.mock-section {
  margin-top: 6px;
  color: #666;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project,
.notice {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 9px;
  color: #c9c6d4;
  font-size: 13px;
}

.project span,
.notice span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--cyan);
}

.project:nth-of-type(2) i {
  background: var(--amber);
}

.project:nth-of-type(3) i {
  background: var(--green);
}

.project.active {
  background: #1a1a1a;
}

.project b,
.notice b {
  color: #777;
  font-size: 11px;
}

.notice.unread {
  background: var(--accent);
  color: #fff;
}

.notice.unread::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #fff;
}

.notice.unread b {
  color: #fff;
}

.app-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  background:
    radial-gradient(circle at 52% 20%, rgba(124, 58, 237, 0.2), transparent 26rem),
    #0a0a0a;
}

.app-topline {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #888;
  font-size: 13px;
}

.status-dot {
  color: var(--green);
}

.chat-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.chat-empty img {
  width: min(23vw, 116px);
  opacity: 0.94;
}

.chat-empty h2 {
  max-width: 480px;
  margin-top: 18px;
  font-size: clamp(1.55rem, 3vw, 2.8rem);
}

.chat-empty p {
  max-width: 500px;
  margin: 14px 0 0;
  color: #8a8795;
}

.composer {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 8px 8px 18px;
  border: 1px solid #272727;
  border-radius: 14px;
  background: #111;
  color: #666;
  font-size: 14px;
}

.composer span {
  flex: 1;
  min-width: 0;
}

.composer button {
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line-soft);
}

.section--tight {
  padding-top: 26px;
  padding-bottom: 26px;
}

.section--band {
  background:
    linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0)),
    var(--bg-2);
}

.section--install {
  background: radial-gradient(circle at 20% 40%, rgba(52, 213, 255, 0.09), transparent 30rem), var(--bg);
}

.section--faq,
.site-footer {
  background: var(--bg-2);
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.container--narrow {
  width: min(780px, 100%);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  align-items: start;
  gap: clamp(32px, 6vw, 72px);
}

.split--center {
  align-items: center;
}

.section-lede {
  margin: 22px 0 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.feature-list p {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
}

.feature-list b {
  color: var(--text);
}

.section-head {
  max-width: 790px;
  margin-bottom: 34px;
}

.section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head p {
  margin: 18px 0 0;
}

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

.capability-grid article {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    var(--surface);
}

.capability-grid article:hover {
  border-color: rgba(124, 58, 237, 0.6);
}

.capability-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.cap-icon {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border: 1px solid rgba(124, 58, 237, 0.42);
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.12);
}

.cap-icon::before,
.cap-icon::after {
  content: "";
  position: absolute;
  background: var(--text);
  opacity: 0.86;
}

.cap-icon--models::before {
  inset: 8px;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: transparent;
}

.cap-icon--models::after {
  width: 12px;
  height: 2px;
  right: 5px;
  bottom: 8px;
  transform: rotate(45deg);
}

.cap-icon--wizard::before,
.cap-icon--skills::before,
.cap-icon--cron::before,
.cap-icon--remote::before,
.cap-icon--tokens::before,
.cap-icon--voice::before,
.cap-icon--updates::before {
  left: 9px;
  right: 9px;
  top: 10px;
  height: 3px;
  box-shadow: 0 7px 0 var(--text), 0 14px 0 var(--text);
}

.cap-icon--skills::after {
  inset: 8px;
  border: 2px solid var(--text);
  border-radius: 7px;
  background: transparent;
  transform: rotate(45deg) scale(0.68);
}

.cap-icon--cron::after {
  inset: 8px;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: transparent;
}

.cap-icon--remote::after {
  width: 18px;
  height: 12px;
  right: 6px;
  bottom: 7px;
  border: 2px solid var(--text);
  border-radius: 4px;
  background: transparent;
}

.cap-icon--tokens::after {
  left: 9px;
  bottom: 8px;
  width: 5px;
  height: 15px;
  box-shadow: 8px -6px 0 var(--text), 16px -2px 0 var(--text);
}

.cap-icon--voice::after {
  left: 13px;
  top: 7px;
  width: 10px;
  height: 20px;
  border: 2px solid var(--text);
  border-radius: 999px;
  background: transparent;
}

.cap-icon--updates::after {
  inset: 9px;
  border: 2px solid var(--text);
  border-left-color: transparent;
  border-radius: 999px;
  background: transparent;
}

.visual-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: var(--shadow);
}

.visual-card img {
  width: 100%;
}

.visual-card figcaption {
  padding: 14px 16px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
  font-weight: 700;
}

.visual-card--wide {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.terminal-card {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  background: #0a0a0a;
  box-shadow: var(--shadow);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
  background: #111116;
}

.terminal-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.terminal-bar span:nth-child(2) {
  background: var(--amber);
}

.terminal-bar span:nth-child(3) {
  background: var(--green);
}

pre {
  margin: 0;
  padding: 24px;
  overflow-x: auto;
  color: #ddd8ea;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.7;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 420px);
  align-items: center;
  gap: clamp(32px, 6vw, 74px);
}

.pricing-card {
  padding: 28px;
  border: 1px solid rgba(124, 58, 237, 0.45);
  border-radius: 18px;
  background:
    radial-gradient(circle at 70% 0%, rgba(124, 58, 237, 0.22), transparent 18rem),
    var(--surface);
  box-shadow: var(--shadow);
}

.pricing-card img {
  width: 74px;
  margin-bottom: 18px;
}

.pricing-card h3 {
  font-size: 1.4rem;
}

.price {
  margin: 8px 0 20px;
  color: var(--text);
  font-size: 3rem;
  font-weight: 850;
  line-height: 1;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.pricing-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.pricing-card li {
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

.pricing-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.faq-question {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.faq-question__chev {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.faq-question__chev::before,
.faq-question__chev::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 9px;
  height: 2px;
  background: var(--accent);
}

.faq-question__chev::before {
  left: 0;
  transform: rotate(45deg);
}

.faq-question__chev::after {
  right: 0;
  transform: rotate(-45deg);
}

.faq-item.open .faq-question__chev {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.site-footer {
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.footer-links a:hover {
  color: var(--text);
}

.page-main {
  min-height: 72vh;
  padding: calc(var(--header-h) + 56px) clamp(20px, 5vw, 72px) 90px;
}

.page-title {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 0.9;
}

.page-lead {
  max-width: 760px;
  margin: 20px 0 36px;
  color: var(--muted);
  font-size: 1.1rem;
}

.card,
.doc-block,
.release-list {
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

.card {
  padding: 22px;
}

.card--list,
.release-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.card--list li,
.release-list li {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
}

.card--list li:last-child,
.release-list li:last-child {
  border-bottom: 0;
}

.muted {
  color: var(--muted);
}

.section__heading {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.release-block {
  margin-bottom: 34px;
}

.doc-block {
  padding: 26px;
  margin-bottom: 18px;
}

.doc-block h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.doc-block code {
  color: #ddd8ea;
  font-family: var(--mono);
}

@media (max-width: 1120px) {
  .hero,
  .split,
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .product-shell {
    width: min(820px, 100%);
    margin: 0 auto;
  }

  .visual-card--wide {
    position: static;
  }

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

@media (max-width: 820px) {
  .site-header {
    padding: 0 14px;
  }

  .brand-mark span,
  .site-nav {
    display: none;
  }

  .btn-header {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    padding-right: 18px;
    padding-left: 18px;
  }

  .app-window {
    grid-template-columns: 1fr;
    min-height: 620px;
  }

  .app-sidebar {
    min-height: 292px;
    border-right: 0;
    border-bottom: 1px solid #272727;
  }

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

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

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

@media (max-width: 520px) {
  .site-header,
  .hero {
    width: 100vw;
    max-width: 100vw;
  }

  .hero__copy,
  .hero__cta,
  .hero__proof,
  .product-shell {
    width: 100%;
    max-width: min(calc(100vw - 36px), 354px);
  }

  .hero__lede {
    max-width: 100%;
  }

  .hero__cta,
  .hero__cta .btn {
    width: 100%;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .app-tabs span {
    font-size: 9px;
  }

  .chat-empty {
    padding: 18px 8px;
  }

  .composer {
    font-size: 12px;
  }
}
