:root {
  color-scheme: dark;
  --bg: #08110f;
  --bg-soft: #0f1b18;
  --ink: #fff7e8;
  --muted: #b7c6bd;
  --faint: rgba(255, 247, 232, 0.12);
  --panel: rgba(255, 247, 232, 0.08);
  --panel-strong: rgba(255, 247, 232, 0.13);
  --teal: #53d6b4;
  --teal-deep: #0f8a74;
  --warm: #f4c76b;
  --warm-ink: #201407;
  --shadow: rgba(0, 0, 0, 0.32);
  --font-main:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(83, 214, 180, 0.22), transparent 28rem),
    radial-gradient(circle at 86% 16%, rgba(244, 199, 107, 0.14), transparent 24rem),
    linear-gradient(145deg, #050908 0%, var(--bg) 42%, #101711 100%);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 247, 232, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 247, 232, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 78%);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 4px;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px 0 34px;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(83, 214, 180, 0.52);
  border-radius: 12px;
  color: var(--bg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.65), transparent),
    var(--teal);
  box-shadow: 0 14px 34px rgba(83, 214, 180, 0.18);
  font-weight: 850;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-name {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-note {
  color: var(--muted);
  font-size: 13px;
}

.header-cta,
.primary-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
}

.header-cta {
  padding: 0 18px;
  border: 1px solid var(--faint);
  color: var(--ink);
  background: rgba(255, 247, 232, 0.06);
}

.hero {
  display: grid;
  min-height: min(760px, calc(100svh - 118px));
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: 30px 0 28px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: #d8e0d8;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.5;
}

.hero-actions {
  display: grid;
  max-width: 620px;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.primary-cta {
  padding: 0 24px;
  color: var(--warm-ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.45), transparent),
    var(--warm);
  box-shadow: 0 18px 44px rgba(244, 199, 107, 0.2);
}

.hero-microcopy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.product-visual {
  position: relative;
  display: grid;
  gap: 18px;
  isolation: isolate;
}

.visual-glow {
  position: absolute;
  inset: 12% 5% 8%;
  z-index: -1;
  border-radius: 999px;
  background: rgba(83, 214, 180, 0.22);
  filter: blur(56px);
}

.chat-card,
.lead-card,
.benefit-card,
.contact {
  border: 1px solid var(--faint);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 24px 70px var(--shadow);
  backdrop-filter: blur(18px);
}

.chat-card {
  width: min(100%, 420px);
  justify-self: start;
  border-radius: 26px;
  padding: 18px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(83, 214, 180, 0.12);
}

.message-list {
  display: grid;
  gap: 10px;
}

.message {
  max-width: 86%;
  margin-bottom: 0;
  padding: 13px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.4;
}

.message.visitor {
  justify-self: end;
  color: var(--warm-ink);
  background: var(--warm);
  border-bottom-right-radius: 6px;
}

.message.ai {
  justify-self: start;
  color: #e9fff7;
  background: rgba(83, 214, 180, 0.18);
  border: 1px solid rgba(83, 214, 180, 0.18);
  border-bottom-left-radius: 6px;
}

.flow-line {
  width: min(54%, 260px);
  height: 2px;
  margin-left: 18%;
  background: linear-gradient(90deg, transparent, var(--teal), var(--warm), transparent);
}

.lead-card {
  width: min(100%, 460px);
  justify-self: end;
  border-radius: 30px;
  padding: 22px;
  background:
    linear-gradient(145deg, rgba(83, 214, 180, 0.14), rgba(255, 247, 232, 0.06)),
    var(--panel-strong);
}

.lead-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.lead-label {
  margin-bottom: 0;
  font-size: 19px;
  font-weight: 820;
}

.lead-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(83, 214, 180, 0.28);
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--teal);
  background: rgba(83, 214, 180, 0.1);
  font-size: 12px;
  font-weight: 780;
}

.lead-fields {
  display: grid;
  gap: 10px;
  margin: 0;
}

.lead-fields div {
  display: grid;
  grid-template-columns: minmax(78px, 0.34fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-top: 1px solid var(--faint);
  padding-top: 10px;
}

.lead-fields dt {
  color: var(--muted);
  font-size: 13px;
}

.lead-fields dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 15px;
  font-weight: 680;
}

.benefits {
  padding: 22px 0 18px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: 0;
}

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

.benefit-card {
  min-height: 150px;
  border-radius: 22px;
  padding: 20px;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.18;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.use-cases {
  padding: 12px 0 24px;
}

.use-cases ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.use-cases li {
  border: 1px solid rgba(255, 247, 232, 0.13);
  border-radius: 999px;
  padding: 9px 13px;
  color: #d5ded5;
  background: rgba(255, 247, 232, 0.055);
  font-size: 14px;
  font-weight: 680;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 20px;
  align-items: center;
  border-radius: 28px;
  padding: clamp(22px, 4vw, 34px);
}

.contact p:last-child {
  margin-bottom: 0;
  color: #f2dfb2;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
}

@media (hover: hover) {
  .header-cta,
  .primary-cta,
  .brand {
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      background-color 180ms ease;
  }

  .header-cta:hover,
  .primary-cta:hover,
  .brand:hover {
    transform: translateY(-2px);
  }

  .header-cta:hover {
    border-color: rgba(83, 214, 180, 0.42);
    background: rgba(83, 214, 180, 0.1);
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 20px;
  }

  .product-visual {
    max-width: 660px;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
    padding-top: 16px;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand-note {
    max-width: 150px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
  }

  h1 {
    font-size: clamp(34px, 11.6vw, 49px);
    line-height: 1;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .primary-cta {
    width: 100%;
  }

  .chat-card,
  .lead-card {
    width: 100%;
  }

  .flow-line {
    width: 70%;
    margin-left: 12%;
  }

  .benefit-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: 128px;
  }
}

@media (max-width: 430px) {
  .site-header {
    gap: 12px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-note {
    display: none;
  }

  .lead-card-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

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