:root {
  color-scheme: light;
  --ink: #131316;
  --muted: #5d6068;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #dedbd4;
  --blue: #155eef;
  --blue-dark: #0d3ea5;
  --green: #2f7d62;
  --amber: #c77700;
  --rose: #b4375a;
  --shadow: 0 24px 70px rgba(30, 31, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 247, 0.9);
  border-bottom: 1px solid rgba(222, 219, 212, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
nav,
.hero-actions,
.hero-proof,
.button,
.header-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
}

nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

nav a,
.header-cta {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.header-cta {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 750;
}

.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 72px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 10ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

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

h3 {
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.lead {
  max-width: 62ch;
  color: #383b43;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 18px;
}

.button {
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  background: white;
}

.hero-proof {
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-proof span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.product-stage {
  position: relative;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: -28px 18px auto auto;
  width: 46%;
  height: 72%;
  background: var(--green);
  opacity: 0.14;
  transform: rotate(5deg);
}

.browser-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid #d4d0c7;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.browser-bar,
.demo-frame-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.browser-bar span,
.demo-frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--rose);
}

.browser-bar span:nth-child(2),
.demo-frame-bar span:nth-child(2) {
  background: var(--amber);
}

.browser-bar span:nth-child(3),
.demo-frame-bar span:nth-child(3) {
  background: var(--green);
}

.browser-bar strong,
.demo-frame-bar strong {
  margin-left: 8px;
  font-weight: 700;
}

.preview-surface {
  position: relative;
  min-height: 520px;
  padding: 30px;
  background:
    linear-gradient(90deg, rgba(21, 94, 239, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(21, 94, 239, 0.07) 1px, transparent 1px),
    #f7f6f1;
  background-size: 26px 26px;
}

.mini-page {
  width: 82%;
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.mini-kicker,
.mini-title,
.mini-copy {
  border-radius: 6px;
  background: #e7e3da;
}

.mini-kicker {
  width: 34%;
  height: 14px;
  margin-bottom: 18px;
  background: rgba(21, 94, 239, 0.23);
}

.mini-title {
  width: 86%;
  height: 66px;
  margin-bottom: 18px;
}

.mini-copy {
  width: 72%;
  height: 52px;
  margin-bottom: 24px;
}

.mini-button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 800;
}

.annotation-card,
.agent-card {
  position: absolute;
  right: 24px;
  width: min(290px, calc(100% - 48px));
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(22, 24, 29, 0.14);
}

.annotation-card {
  top: 155px;
}

.agent-card {
  bottom: 34px;
}

.annotation-card strong,
.agent-card strong {
  display: block;
  margin-bottom: 4px;
}

.annotation-card p,
.agent-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.pin,
.status-dot {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 99px;
}

.pin {
  background: var(--blue);
  color: white;
  font-weight: 900;
}

.status-dot {
  margin-top: 2px;
  background: rgba(47, 125, 98, 0.14);
}

.status-dot::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--green);
}

.proof-strip {
  border-block: 1px solid var(--line);
  background: #f0ede6;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.proof-grid > div {
  padding: 28px;
  border-left: 1px solid var(--line);
}

.proof-grid > div:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid strong,
.proof-grid span {
  display: block;
}

.proof-grid span {
  margin-top: 8px;
  color: var(--muted);
}

.section {
  padding: 104px 0;
}

.split,
.outcomes-grid,
.trust-grid,
.install-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 52px;
  align-items: center;
}

.section-copy p,
.outcome-copy p,
.trust-grid p,
.install-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.demo-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
}

.workflow-section {
  background: var(--ink);
  color: white;
}

.workflow-section .eyebrow {
  color: #8bb3ff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.workflow-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow-grid li {
  min-height: 280px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.workflow-grid span {
  color: #8bb3ff;
  font-weight: 900;
}

.workflow-grid strong {
  display: block;
  margin: 44px 0 12px;
  font-size: 1.22rem;
}

.workflow-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.comparison > div {
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.comparison > div:last-child {
  border-color: rgba(47, 125, 98, 0.36);
  background: rgba(47, 125, 98, 0.08);
}

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

li + li {
  margin-top: 10px;
}

.trust-section {
  background: #efe9dc;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0;
  list-style: none;
}

.trust-list li {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(19, 19, 22, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
  font-weight: 750;
}

.install-section {
  padding-bottom: 120px;
}

.install-panel {
  grid-template-columns: 1fr 0.9fr;
  align-items: start;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.install-copy {
  position: sticky;
  top: 104px;
  align-self: start;
}

.install-box {
  display: grid;
  gap: 18px;
}

.setup-steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.usage-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(21, 94, 239, 0.18);
  border-radius: 8px;
  background: rgba(21, 94, 239, 0.06);
}

.usage-card p {
  margin: 0;
  color: #353841;
}

.usage-step {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.usage-note {
  font-size: 0.9rem;
}

.paste-note {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(47, 125, 98, 0.22);
  border-radius: 8px;
  background: rgba(47, 125, 98, 0.08);
  color: #2e433a;
}

.paste-note strong {
  color: var(--green);
}

.command-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171719;
}

code {
  display: block;
  overflow-x: auto;
  padding: 18px;
  border: 0;
  background: transparent;
  color: #f7f1df;
  font: 0.95rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.copy-button {
  min-width: 86px;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  background: #25252a;
  color: #f7f1df;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.copy-button:hover,
.copy-button:focus-visible {
  background: var(--blue);
  outline: none;
}

.copy-button.copied {
  background: var(--green);
}

@media (max-width: 920px) {
  nav {
    display: none;
  }

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

  .hero-grid,
  .split,
  .outcomes-grid,
  .trust-grid,
  .install-panel {
    grid-template-columns: 1fr;
  }

  .proof-grid,
  .workflow-grid,
  .comparison,
  .trust-list {
    grid-template-columns: 1fr;
  }

  .proof-grid > div,
  .proof-grid > div:last-child {
    border-right: 1px solid var(--line);
  }

  .install-copy {
    position: static;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-cta {
    display: none;
  }

  h1 {
    max-width: 11ch;
    font-size: 3.25rem;
  }

  .preview-surface {
    min-height: 470px;
    padding: 18px;
  }

  .mini-page {
    width: 100%;
  }

  .annotation-card,
  .agent-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 16px;
  }

  .section {
    padding: 72px 0;
  }

  .workflow-grid li {
    min-height: 220px;
  }

  .install-panel {
    padding: 24px;
  }

  .command-copy {
    grid-template-columns: 1fr;
  }

  .copy-button {
    min-height: 46px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}
