:root {
  color-scheme: light;
  --ink: #111318;
  --muted: #6c737d;
  --soft: #eef3f7;
  --panel: rgba(255, 255, 255, 0.74);
  --line: rgba(18, 24, 32, 0.11);
  --blue: #1484ff;
  --green: #24c768;
  --coral: #ff6b4a;
  --amber: #e6a81c;
  --cyan: #28b7c9;
  --shadow: 0 24px 90px rgba(18, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #f7faf7;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Hiragino Sans", "Yu Gothic", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 132, 255, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(36, 199, 104, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #fbfdfa 0%, #f2f7fb 48%, #ffffff 100%);
  background-size: 82px 82px, 82px 82px, auto;
}

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

#mcp-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 34px;
  color: rgba(17, 19, 24, 0.86);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(18, 24, 32, 0.06);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
}

.brand img,
.final-cta img {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(20, 132, 255, 0.22);
}

nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 0.96rem;
  font-weight: 700;
  color: rgba(17, 19, 24, 0.58);
}

nav a,
footer a {
  transition: color 160ms ease;
}

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

.header-cta,
.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.header-cta {
  color: #fff;
  background: var(--ink);
}

.primary-action {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 18px 42px rgba(20, 132, 255, 0.25);
}

.secondary-action {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(17, 19, 24, 0.72);
}

main {
  overflow: clip;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, 0.94fr) minmax(520px, 1.06fr);
  align-items: center;
  gap: 28px;
  padding: 96px 52px 62px;
}

.hero::after {
  content: "";
  position: absolute;
  left: 52px;
  right: 52px;
  bottom: 0;
  height: 1px;
  background: var(--line);
}

.hero-copy {
  max-width: 670px;
  min-width: 0;
  width: 100%;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 8px;
  font-size: 8.8rem;
  line-height: 0.84;
  font-weight: 950;
}

.hero-statement {
  margin-bottom: 18px;
  font-size: 3.1rem;
  line-height: 1.08;
  font-weight: 920;
}

.hero-statement span {
  display: inline-block;
}

.lead {
  max-width: 600px;
  margin-bottom: 28px;
  color: rgba(17, 19, 24, 0.66);
  font-size: 1.22rem;
  line-height: 1.76;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-width: 0;
  width: 100%;
}

.product-shell {
  position: relative;
  display: grid;
  grid-template-columns: 204px 1fr;
  width: min(100%, 780px);
  min-height: 530px;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(18, 24, 32, 0.13);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(30px);
}

.traffic {
  position: absolute;
  top: 18px;
  left: 20px;
  display: flex;
  gap: 9px;
}

.traffic i {
  width: 13px;
  height: 13px;
  border-radius: 999px;
}

.traffic i:nth-child(1) {
  background: #ff5f57;
}

.traffic i:nth-child(2) {
  background: #ffbd2e;
}

.traffic i:nth-child(3) {
  background: #28c840;
}

.product-sidebar {
  padding: 62px 18px 20px;
  background: rgba(240, 246, 248, 0.74);
  border-right: 1px solid var(--line);
}

.mini-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  font-weight: 900;
}

.mini-brand img {
  border-radius: 9px;
}

.side-item,
.side-folder {
  border-radius: 12px;
  padding: 12px 13px;
  color: rgba(17, 19, 24, 0.76);
  font-weight: 750;
}

.side-item.active {
  color: #fff;
  background: var(--blue);
}

.side-folder {
  margin-top: 13px;
  background: rgba(17, 19, 24, 0.07);
}

.side-folder.muted {
  color: rgba(17, 19, 24, 0.42);
  background: transparent;
}

.product-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 72px 28px 30px;
}

.prompt-line {
  border-radius: 16px;
  background: #e7f1ff;
  padding: 18px 19px;
  color: rgba(17, 19, 24, 0.92);
  font-size: 1.08rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.mcp-stream {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 1px solid rgba(36, 199, 104, 0.2);
  border-radius: 999px;
  background: rgba(36, 199, 104, 0.08);
  padding: 9px 13px;
  color: rgba(17, 19, 24, 0.7);
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 0.82rem;
}

.ok {
  color: #0f9f50;
  font-weight: 900;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.4s ease-in-out infinite;
}

.answer-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
  background: rgba(17, 19, 24, 0.92);
  padding: 24px;
  color: #fff;
}

.answer-block p {
  max-width: 420px;
  font-size: 1.2rem;
  line-height: 1.65;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.bars {
  display: flex;
  align-items: end;
  gap: 14px;
  height: 150px;
  margin-top: 30px;
}

.bars i {
  flex: 1;
  min-width: 20px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, var(--green), var(--blue));
  animation: lift 2.4s ease-in-out infinite;
}

.bars i:nth-child(2n) {
  background: linear-gradient(180deg, var(--amber), var(--coral));
  animation-delay: 180ms;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-row span {
  border-radius: 999px;
  background: rgba(20, 132, 255, 0.1);
  padding: 7px 10px;
  color: rgba(17, 19, 24, 0.68);
  font-family: "SF Mono", ui-monospace, monospace;
  font-size: 0.76rem;
  font-weight: 750;
}

section:not(.hero) {
  padding: 108px 52px;
}

.flow-section,
.work-section,
.agents-section,
.trust-section,
.final-cta {
  max-width: 1180px;
  margin: 0 auto;
}

h2 {
  max-width: 860px;
  margin-bottom: 34px;
  font-size: 3.5rem;
  line-height: 1.04;
  font-weight: 920;
}

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

.flow article,
.agent-rail article,
.work-list div,
.trust-section,
.final-cta {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 20px 70px rgba(18, 24, 32, 0.07);
  backdrop-filter: blur(24px);
}

.flow article {
  min-height: 245px;
  border-radius: 24px;
  padding: 28px;
}

.flow strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.2rem;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.flow p,
.work-copy p,
.work-list p,
.agent-rail p,
.trust-section li {
  color: rgba(17, 19, 24, 0.64);
  font-size: 1.05rem;
  line-height: 1.7;
  font-weight: 650;
}

.work-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.work-list div {
  min-height: 180px;
  border-radius: 22px;
  padding: 24px;
}

.work-list span {
  color: var(--coral);
  font-family: "SF Mono", ui-monospace, monospace;
  font-weight: 900;
}

.work-list b {
  display: block;
  margin: 18px 0 8px;
  font-size: 1.45rem;
}

.agents-section {
  text-align: center;
}

.agents-section h2 {
  margin-left: auto;
  margin-right: auto;
}

.agent-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.agent-rail article {
  min-height: 220px;
  border-radius: 26px;
  padding: 28px;
}

.agent-rail span {
  display: block;
  margin-bottom: 54px;
  color: var(--blue);
  font-size: 1.28rem;
  font-weight: 900;
}

.trust-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  border-radius: 30px;
  padding: 42px;
}

.trust-section h2 {
  margin-bottom: 0;
  font-size: 2.75rem;
}

.trust-section ul {
  margin: 0;
  padding-left: 24px;
}

.trust-section li + li {
  margin-top: 14px;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
  border-radius: 36px;
  padding: 72px 28px;
}

.final-cta h2 {
  margin: 24px auto 28px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 52px 44px;
  color: rgba(17, 19, 24, 0.56);
  font-weight: 800;
}

.flow article,
.work-copy,
.work-list div,
.agent-rail article,
.trust-section,
.final-cta {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.hero-copy,
.hero-visual {
  opacity: 1;
  transform: none;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.56;
  }
  50% {
    transform: scale(1.18);
    opacity: 1;
  }
}

@keyframes lift {
  0%, 100% {
    transform: scaleY(0.92);
  }
  50% {
    transform: scaleY(1);
  }
}

@media (max-width: 1080px) {
  .site-header {
    padding: 16px 22px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 112px 24px 54px;
  }

  .hero-copy,
  .product-shell {
    max-width: 760px;
    margin-left: 0;
  }

  h1 {
    font-size: 6.5rem;
  }

  .hero-statement,
  h2 {
    font-size: 2.65rem;
  }

  section:not(.hero) {
    padding: 84px 24px;
  }

  .flow,
  .work-section,
  .agent-rail,
  .trust-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    grid-template-columns: auto auto;
    justify-content: space-between;
    padding: 14px 16px;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    width: 100vw;
    padding: 92px 16px 42px;
  }

  .hero-copy,
  .hero-visual,
  .product-shell {
    width: min(100%, 358px);
    max-width: 358px;
  }

  .lead,
  .hero-statement {
    width: min(100%, 358px);
    max-width: 358px;
  }

  .lead {
    word-break: break-all;
  }

  h1 {
    font-size: 4.7rem;
  }

  .hero-statement,
  h2 {
    font-size: 2.05rem;
  }

  .hero-statement span {
    display: block;
  }

  .lead {
    font-size: 1.05rem;
  }

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

  .product-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .product-sidebar {
    display: none;
  }

  .product-main {
    padding: 58px 16px 18px;
  }

  .mcp-stream {
    border-radius: 16px;
    align-items: flex-start;
  }

  .mcp-stream span:nth-child(2) {
    overflow-wrap: anywhere;
  }

  .answer-block {
    min-height: 280px;
    padding: 18px;
  }

  .bars {
    height: 110px;
  }

  .flow article,
  .work-list div,
  .agent-rail article {
    min-height: auto;
  }

  .work-list {
    grid-template-columns: 1fr;
  }

  .trust-section {
    padding: 28px;
  }

  .trust-section h2 {
    font-size: 2.1rem;
  }

  footer {
    padding: 28px 16px 36px;
  }
}

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