@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@5.2.5/latin-400-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@5.2.5/latin-500-normal.woff2")
    format("woff2");
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/fontsource/fonts/geist-sans@5.2.5/latin-600-normal.woff2")
    format("woff2");
}

:root {
  --bg: #0a0a0a;
  --card: #111814;
  --line: #1c2a20;
  --ink: #ffffff;
  --mute: #9aa39b;
  --green: #22c55e;
  --green-2: #16a34a;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Geist, "SF Pro Display", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

h1,
h2,
h3,
p,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.04em;
  line-height: 1.05;
  font-weight: 600;
  text-wrap: balance;
}

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

.site-header,
.hero,
.features,
.how,
.cta,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.bolt {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--mute);
  font-size: 14px;
}

.nav a:hover {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 160ms var(--ease), transform 140ms var(--ease),
    box-shadow 200ms var(--ease);
}

.btn:hover {
  background: var(--green-2);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible,
.nav a:focus-visible,
.ghost:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.btn-sm {
  min-height: 36px;
  padding: 0 14px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 22px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: calc(100dvh - 80px);
  padding: 48px 0 80px;
}

.kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(40px, 5.4vw, 64px);
}

.lede,
.card p,
.how p,
.cta p {
  color: var(--mute);
}

.lede {
  margin: 18px 0 28px;
  max-width: 42ch;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mute);
  font-size: 14px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.chat {
  position: relative;
  width: min(380px, 100%);
  background: #101612;
  border: 1px solid #223126;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 60px rgba(34, 197, 94, 0.12);
  overflow: hidden;
}

.chat header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid #1c2a20;
  font-size: 14px;
  font-weight: 600;
}

.chat header small {
  margin-left: auto;
  color: var(--mute);
  font-weight: 400;
}

.live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.thread {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 12px;
  background: #1a211c;
  font-size: 13.5px;
  line-height: 1.45;
}

.bubble.user {
  justify-self: end;
}

.product {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: #161d18;
  border: 1px solid #223126;
}

.product img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}

.product span,
.composer span {
  color: var(--mute);
  font-size: 12px;
}

.product b {
  display: block;
  color: var(--green);
  margin-top: 2px;
}

.composer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 16px 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #161d18;
  border: 1px solid #223126;
}

.send {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--green);
}

.features,
.how {
  padding: 40px 0 88px;
}

.features h2,
.how h2,
.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  max-width: 16ch;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  min-height: 140px;
}

.card.span-2 {
  grid-column: 1 / -1;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.card svg {
  width: 28px;
  height: 28px;
  stroke: #3f7a52;
  fill: none;
  stroke-width: 1.6;
  flex: 0 0 auto;
}

.how ol {
  list-style: none;
  padding: 8px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.how li {
  border-top: 1px solid #1c2a20;
  padding-top: 20px;
}

.how span {
  display: block;
  font-size: 42px;
  font-weight: 600;
  color: #16351f;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.how h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.cta {
  text-align: center;
  padding: 72px 0 96px;
}

.cta h2 {
  max-width: none;
  margin: 0 auto 12px;
}

.cta p {
  max-width: 42ch;
  margin: 0 auto 28px;
}

.cta small {
  display: block;
  margin-top: 14px;
  color: #6b746d;
  font-size: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr auto;
  gap: 28px;
  align-items: end;
  padding: 28px 0 40px;
  border-top: 1px solid #1a1a1a;
  color: var(--mute);
  font-size: 13px;
}

.site-footer .brand {
  color: #fff;
  margin-bottom: 8px;
}

.footer-contact,
.footer-legal {
  display: grid;
  gap: 8px;
}

.footer-legal {
  text-align: right;
}

.site-footer a:hover {
  color: #fff;
}

@media (max-width: 860px) {
  .hero,
  .cards,
  .how ol,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    gap: 36px;
    padding-top: 20px;
  }

  .nav a:not(.btn) {
    display: none;
  }

  .card.span-2 {
    grid-column: auto;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
