@font-face {
  font-family: "Manrope";
  src: url("./assets/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0b1739;
  --muted: #5f6b82;
  --line: #e2e8f4;
  --blue: #315cff;
  --green: #1f9d68;
  --shadow: 0 28px 80px rgba(11, 23, 57, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(226, 232, 244, 0.46) 1px, transparent 1px),
    linear-gradient(180deg, rgba(226, 232, 244, 0.46) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  background-size: 72px 72px, 72px 72px, auto;
  font-family: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.78) 36%, #ffffff 100%);
  content: "";
  pointer-events: none;
}

a {
  color: inherit;
}

.page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 52px 28px;
}

.hero {
  width: min(1080px, 100%);
}

.logo {
  width: min(525px, 82vw);
  height: auto;
  display: block;
  margin: 0 auto 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  gap: 68px;
  align-items: center;
}

.copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
p {
  margin-top: 0;
}

h1 {
  max-width: 700px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 540;
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.58;
}

.cta-note {
  max-width: 650px;
  margin: 14px 0 0;
  color: #738096;
  font-size: 14px;
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  border: 1px solid rgba(49, 92, 255, 0.28);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(49, 92, 255, 0.12);
  color: var(--blue);
  padding: 0 20px;
  font-size: 15px;
  font-weight: 780;
  text-decoration: none;
}

.cta:hover,
.cta:focus-visible {
  border-color: rgba(49, 92, 255, 0.48);
  transform: translateY(-1px);
  outline: none;
}

.agent {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 244, 0.92);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92)),
    #ffffff;
  box-shadow: var(--shadow);
  padding: 26px;
}

.agent::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(49, 92, 255, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(49, 92, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.agent::after {
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: 34%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(49, 92, 255, 0.3), transparent);
  content: "";
  transform: rotate(18deg);
}

.agent-top,
.agent-core,
.agent-trace,
.agent-footer {
  position: relative;
  z-index: 1;
}

.agent-top {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  color: #7b8699;
  font-size: 13px;
  font-weight: 760;
}

.agent-status {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(31, 157, 104, 0.12);
  flex: 0 0 auto;
}

.agent-top span:not(.agent-status),
.agent-top strong {
  display: block;
}

.agent-top strong {
  margin-top: 3px;
  color: var(--ink);
  font-weight: 820;
}

.agent-core {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: center;
  margin: 26px 0;
}

.agent-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(49, 92, 255, 0.18);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(49, 92, 255, 0.1), rgba(31, 157, 104, 0.08)),
    #ffffff;
  box-shadow: inset 0 0 0 10px rgba(49, 92, 255, 0.04);
}

.agent-mark::before,
.agent-mark::after,
.agent-mark span {
  position: absolute;
  border-radius: 999px;
  content: "";
}

.agent-mark::before {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(49, 92, 255, 0.36);
}

.agent-mark::after {
  width: 6px;
  height: 6px;
  background: var(--green);
  transform: translate(27px, -18px);
  box-shadow:
    -24px 20px 0 var(--blue),
    2px 34px 0 rgba(49, 92, 255, 0.58);
}

.agent-mark span {
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--blue), #7c4dff);
}

.agent-core p {
  margin-bottom: 6px;
  color: #7b8699;
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-core strong {
  display: block;
  color: var(--ink);
  font-size: 25px;
  font-weight: 660;
  line-height: 1.12;
}

.agent-trace {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-trace div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 14px;
  padding: 15px 0;
  color: #263451;
  font-size: 14px;
  font-weight: 700;
}

.agent-trace div + div {
  border-top: 1px solid var(--line);
}

.agent-trace span {
  display: block;
  color: #8a94a8;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.agent-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  color: #6f7a8e;
  font-size: 13px;
  font-weight: 760;
}

.agent-footer strong {
  color: var(--green);
  text-align: right;
}

@media (max-width: 880px) {
  .page {
    place-items: start center;
    padding-top: 42px;
  }

  .logo {
    margin-bottom: 42px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    text-align: center;
  }

  .lead,
  .cta-note,
  h1 {
    margin-right: auto;
    margin-left: auto;
  }

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

@media (max-width: 560px) {
  .page {
    padding: 30px 18px;
  }

  .logo {
    width: min(415px, 86vw);
    margin-bottom: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .agent {
    border-radius: 26px;
    padding: 18px;
  }

  .agent-core {
    grid-template-columns: 1fr;
  }

  .agent-trace div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .agent-footer,
  .agent-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .agent-footer strong {
    text-align: left;
  }
}
