:root {
  color-scheme: dark;
  --bg: #080b0d;
  --bg-2: #0d1114;
  --surface: #12171b;
  --surface-2: #171d22;
  --line: rgba(225, 232, 235, 0.15);
  --line-strong: rgba(237, 243, 245, 0.28);
  --text: #f4f6f4;
  --muted: #b9c1bf;
  --soft: #7f8988;
  --amber: #ffa62b;
  --amber-2: #ffbd63;
  --green: #64d482;
  --cyan: #66cbe2;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(18, 12, 7, 0.72), rgba(8, 11, 13, 0.08) 440px, rgba(8, 11, 13, 0) 760px),
    radial-gradient(ellipse at 76% -8%, rgba(255, 166, 43, 0.26), rgba(74, 42, 17, 0.16) 30%, transparent 58%),
    radial-gradient(ellipse at 50% 58%, rgba(80, 42, 17, 0.18), transparent 56%),
    var(--bg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 202, 128, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 202, 128, 0.018) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

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

img,
svg {
  display: block;
}

.section-shell {
  width: calc(100% - 64px);
  max-width: 1340px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 max(32px, calc((100vw - 1340px) / 2));
  background: rgba(8, 11, 13, 0.84);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  font-weight: 780;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--text);
}

.brand-mark svg {
  width: 42px;
  height: 42px;
  overflow: visible;
  filter: drop-shadow(0 8px 16px rgba(255, 166, 43, 0.16));
}

.button svg,
.requirement svg {
  width: 20px;
  height: 20px;
}

svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark .toast-outline {
  stroke: url(#brandAmber);
  stroke-width: 3.4;
}

.brand-mark .toast-prompt,
.brand-mark .toast-cursor {
  stroke: #f7e6bd;
  stroke-width: 2.8;
}

.button-secondary svg path,
.requirement svg path {
  fill: currentColor;
  stroke: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-left: auto;
  margin-right: 36px;
  font-size: 14px;
  font-weight: 620;
}

.nav-links a {
  color: rgba(244, 247, 246, 0.86);
  transition: color 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--amber-2);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 720;
  white-space: nowrap;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: #080b0d;
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
  border: 1px solid rgba(255, 200, 104, 0.9);
  box-shadow: 0 14px 38px rgba(255, 166, 43, 0.17);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-strong);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.42);
}

.hero {
  display: grid;
  grid-template-columns: minmax(390px, 0.72fr) minmax(590px, 1.32fr);
  align-items: center;
  gap: 48px;
  min-height: 640px;
  padding: 48px 0 36px;
}

.hero h1,
.section-copy h2,
.section-heading h2,
.final-cta h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--mono);
  font-weight: 820;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(42px, 4.3vw, 66px);
  line-height: 1.02;
  overflow-wrap: break-word;
}

.hero h1 span {
  color: var(--amber);
}

.hero-copy p {
  max-width: 570px;
  margin: 24px 0 0;
  color: #c7cfcc;
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.62;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-actions .button {
  min-height: 54px;
}

.hero-copy p.requirement {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--soft);
  font-family: var(--sans);
  font-size: 14px;
}

.hero-media {
  position: relative;
  margin: 0;
  isolation: isolate;
}

.hero-copy,
.section-copy,
.section-heading,
.cta-grid > div {
  min-width: 0;
}

.hero-media::before {
  position: absolute;
  inset: 10% 2% -7%;
  z-index: -1;
  content: "";
  background: linear-gradient(135deg, rgba(255, 166, 43, 0.2), rgba(74, 42, 17, 0.16));
  filter: blur(48px);
  opacity: 0.9;
}

.hero-media img,
.screenshot-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media img {
  aspect-ratio: 3680 / 2392;
  border: 1px solid rgba(239, 247, 250, 0.22);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-section,
.feature-band,
.final-cta {
  border-top: 1px solid var(--line);
}

.product-section {
  padding: 86px 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 14, 0.88), rgba(9, 10, 10, 0.78)),
    radial-gradient(ellipse at 82% 0%, rgba(255, 166, 43, 0.12), transparent 46%);
}

.feature-grid-section {
  padding: 46px 0 34px;
  background:
    linear-gradient(180deg, rgba(7, 9, 9, 0.96), rgba(10, 10, 9, 0.9)),
    radial-gradient(ellipse at 73% -18%, rgba(255, 166, 43, 0.16), transparent 52%);
}

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

.feature-tile {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  min-height: 168px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(22, 23, 23, 0.92), rgba(14, 15, 15, 0.9));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 46px rgba(0, 0, 0, 0.24);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: var(--amber);
  background: rgba(255, 166, 43, 0.055);
  border: 2px solid rgba(255, 166, 43, 0.55);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(255, 166, 43, 0.08);
}

.feature-icon svg {
  width: 31px;
  height: 31px;
}

.feature-icon svg path {
  stroke-width: 1.75;
}

.feature-tile h3 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: 20px;
  line-height: 1.24;
  font-weight: 780;
  letter-spacing: 0;
}

.feature-tile p {
  margin: 18px 0 0;
  max-width: 360px;
  color: #aeb5b1;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
}

.agent-dashboard-layout,
.side-panel-layout,
.palette-layout {
  display: grid;
  align-items: center;
  gap: 60px;
}

.agent-dashboard-layout {
  grid-template-columns: minmax(280px, 0.62fr) minmax(420px, 1fr);
}

.side-panel-layout {
  grid-template-columns: minmax(320px, 0.58fr) minmax(560px, 1.1fr);
}

.palette-layout {
  grid-template-columns: minmax(560px, 0.96fr) minmax(360px, 0.72fr);
}

.agent-dashboard-layout .sidebar-frame {
  max-height: 560px;
  justify-self: center;
  width: min(100%, 380px);
  box-shadow:
    0 24px 76px rgba(0, 0, 0, 0.42),
    0 0 46px rgba(255, 166, 43, 0.08);
}

.side-panel-layout .wide-frame {
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.46),
    -14px 0 38px rgba(255, 166, 43, 0.18);
}

.section-copy h2,
.section-heading h2,
.final-cta h2 {
  max-width: 760px;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
}

.section-copy p,
.section-heading p,
.final-cta p {
  max-width: 620px;
  margin: 18px 0 0;
  color: #b9c1bf;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.66;
}

.screenshot-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.screenshot-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sidebar-frame {
  aspect-ratio: 550 / 866;
  max-height: 720px;
}

.wide-frame {
  aspect-ratio: 1332 / 631;
}

.palette-frame {
  aspect-ratio: 1258 / 562;
}

.feature-stack {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.feature-stack article {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  padding: 0 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-stack article:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.feature-stack h3,
.feature-band h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
}

.feature-stack p,
.feature-band article p {
  margin: 7px 0 0;
  color: #aeb8b5;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.58;
}

.status-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
}

.green {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(100, 212, 130, 0.12);
}

.amber {
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(255, 166, 43, 0.12);
}

.cyan {
  background: var(--cyan);
  box-shadow: 0 0 0 6px rgba(102, 203, 226, 0.12);
}

kbd {
  display: inline-grid;
  min-width: 32px;
  min-height: 24px;
  place-items: center;
  padding: 2px 7px;
  color: #f9fbfa;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.12);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 760;
}

.plain-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  color: #d3d9d7;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 24px;
}

.plain-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--amber);
  border-radius: 2px;
  content: "";
  transform: rotate(45deg);
}

.feature-band {
  padding: 70px 0;
}

.shortcut-reference {
  margin-top: 54px;
}

.shortcut-reference-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
  color: var(--amber-2);
  font-family: var(--mono);
  font-size: 12px;
}

.shortcut-reference-header a {
  color: #cfd7d4;
  transition: color 160ms ease;
}

.shortcut-reference-header a:hover,
.shortcut-reference-header a:focus-visible {
  color: var(--amber-2);
}

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

.shortcut-reference-column {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shortcut-reference-column > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  color: #c3cbc8;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.shortcut-reference-column kbd {
  flex: 0 0 auto;
}

.feature-band-layout {
  display: grid;
  gap: 34px;
}

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

.feature-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card h3 {
  margin-top: 4px;
}

.terminal-split-preview,
.terminal-code {
  color: #e8eeeb;
  background: #050706;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.terminal-split-preview {
  position: relative;
  min-height: 240px;
  margin: 18px 0 0;
  padding: 8px;
}

.terminal-code {
  margin: 0;
}

.animated-split-preview {
  display: block;
  overflow: hidden;
}

.split-layout {
  position: absolute;
  inset: 8px;
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: scale(0.985);
  animation: split-layout-cycle 7.2s ease-in-out infinite;
}

.split-layout-one {
  grid-template-areas:
    "a a"
    "a a";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
}

.split-layout-two {
  grid-template-areas:
    "a b"
    "a b";
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  animation-delay: 2.4s;
}

.split-layout-three {
  grid-template-areas:
    "a b"
    "a c";
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  animation-delay: 4.8s;
}

.split-pane {
  min-width: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.018);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition:
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease;
}

.split-pane-primary {
  grid-area: a;
}

.split-pane-secondary {
  grid-area: b;
}

.split-pane-tertiary {
  grid-area: c;
}

.split-layout-two .split-pane-secondary,
.split-layout-three .split-pane-secondary {
  background: rgba(102, 203, 226, 0.055);
  border-color: rgba(102, 203, 226, 0.18);
}

.split-layout-three .split-pane-tertiary {
  background: rgba(255, 166, 43, 0.055);
  border-color: rgba(255, 166, 43, 0.2);
}

.split-pane-label,
.terminal-code {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.55;
}

.split-pane-label {
  display: block;
  margin-bottom: 8px;
  color: var(--amber-2);
}

.split-pane code {
  display: block;
  color: #cbd5d1;
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.55;
  white-space: nowrap;
}

.terminal-code {
  min-height: 170px;
  overflow: hidden;
  padding: 14px;
  white-space: pre-wrap;
}

.terminal-code code {
  font-family: inherit;
}

.syntax-code .token-comment {
  color: #74807c;
}

.syntax-code .token-key,
.syntax-code .token-arg,
.syntax-code .token-shell {
  color: var(--amber);
}

.syntax-code .token-value,
.syntax-code .token-string {
  color: var(--amber-2);
}

.syntax-code .token-action {
  color: var(--green);
}

.syntax-code .token-command {
  color: #f2f7f5;
}

.syntax-code .token-ref {
  color: var(--cyan);
}

.syntax-code .token-punct,
.syntax-code .token-soft {
  color: #aeb8b5;
}

.syntax-code .token-success {
  color: var(--green);
}

@keyframes split-layout-cycle {
  0%,
  34% {
    opacity: 1;
    transform: scale(1);
  }

  42%,
  100% {
    opacity: 0;
    transform: scale(0.985);
  }
}

.final-cta {
  padding: 52px 0 60px;
  background: rgba(9, 13, 15, 0.62);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.cta-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-footer {
  padding: 32px 0 36px;
  border-top: 1px solid var(--line);
  background: rgba(6, 8, 9, 0.86);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  color: var(--soft);
  font-size: 13px;
}

.footer-brand {
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 780;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  color: #c3cbc8;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--amber-2);
}

.footer-meta {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 12px;
}

@media (max-width: 1220px) {
  .section-shell {
    width: calc(100% - 48px);
    max-width: 980px;
  }

  .hero,
  .agent-dashboard-layout,
  .side-panel-layout,
  .palette-layout,
  .cta-grid {
    grid-template-columns: 1fr;
  }

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

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

  .feature-card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy p {
    max-width: 760px;
  }

  .agent-dashboard-layout .section-copy {
    order: -1;
  }

  .agent-dashboard-layout .sidebar-frame {
    width: min(100%, 360px);
  }

  .palette-layout .section-copy {
    order: -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 20px;
  }

  .brand {
    font-size: 22px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    overflow-x: auto;
  }

  .header-cta {
    display: none;
  }

  .section-shell {
    width: calc(100% - 32px);
    max-width: 640px;
  }

  .hero {
    gap: 30px;
    padding: 38px 0 28px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.08;
  }

  .hero-copy p,
  .section-copy p,
  .section-heading p,
  .final-cta p {
    font-size: 14px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-media,
  .side-panel-layout .wide-frame,
  .palette-frame {
    width: calc(100vw - 16px);
    margin-left: calc((100vw - 100%) / -2 + 8px);
  }

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

  .feature-tile {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 22px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-icon svg {
    width: 27px;
    height: 27px;
  }

  .feature-tile h3 {
    font-size: 18px;
  }

  .feature-tile p {
    margin-top: 12px;
    font-size: 14px;
  }

  .product-section {
    padding: 58px 0;
  }

  .agent-dashboard-layout,
  .side-panel-layout,
  .palette-layout {
    gap: 36px;
  }

  .agent-dashboard-layout .sidebar-frame {
    width: min(100%, 320px);
  }

  .shortcut-reference-grid {
    grid-template-columns: 1fr;
  }

  .shortcut-reference-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .split-layout-one,
  .split-layout-two,
  .split-layout-three {
    grid-template-columns: 1fr;
  }

  .split-layout-one {
    grid-template-areas:
      "a"
      "a"
      "a";
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }

  .split-layout-two {
    grid-template-areas:
      "a"
      "b";
    grid-template-rows: repeat(2, minmax(0, 1fr));
  }

  .split-layout-three {
    grid-template-areas:
      "a"
      "b"
      "c";
    grid-template-rows: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .split-layout {
    opacity: 0;
    transform: none;
    animation: none;
  }

  .split-layout-three {
    opacity: 1;
  }
}
