:root {
  --band-top: #faf6f4;
  --band-bottom: #f4eeeb;
  --band-edge: #ece4e1;
}

:root .band,
:root .pricing-tabs + .awards-sec {
  background: linear-gradient(180deg, var(--band-top), var(--band-bottom));
  border-block: 1px solid var(--band-edge);
}

:root main {
  overflow-x: clip;
}

.nf {
  padding-block: clamp(48px, 9vw, 110px) clamp(56px, 8vw, 96px);
}
.nf-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.nf-eyebrow {
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 16px;
}
.nf h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 14ch;
}
.nf-lead {
  margin: 18px 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--mute);
}
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.nf-chat {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  max-width: 420px;
  justify-self: end;
  width: 100%;
}
.nf-chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.nf-chat-head b {
  display: block;
  font-size: 14.5px;
}
.nf-chat-head small {
  font-size: 12px;
  color: var(--ok);
}
.nf-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-d));
}
.nf-thread {
  display: grid;
  gap: 10px;
  padding: 20px 18px 22px;
  background: var(--bg2);
}
.nf-msg {
  margin: 0;
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14.5px;
  line-height: 1.5;
}
.nf-msg.out {
  justify-self: end;
  background: var(--brand);
  color: #fff;
  border-bottom-right-radius: 6px;
}
.nf-msg.out code {
  font: 500 13px var(--mono);
  word-break: break-all;
  opacity: 0.92;
}
.nf-msg.in {
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}
.nf-typing {
  display: inline-flex;
  gap: 4px;
  width: max-content;
  margin: 0;
  padding: 12px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 6px;
  background: var(--card);
  border: 1px solid var(--line);
}
.nf-typing i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mute);
  opacity: 0.45;
}
@media (prefers-reduced-motion: no-preference) {
  .nf-typing i {
    animation: nf-dot 1.2s ease-in-out infinite;
  }
  .nf-typing i:nth-child(2) {
    animation-delay: 0.15s;
  }
  .nf-typing i:nth-child(3) {
    animation-delay: 0.3s;
  }
}
@keyframes nf-dot {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
@media (max-width: 820px) {
  .nf-grid {
    grid-template-columns: 1fr;
  }
  .nf-chat {
    justify-self: start;
  }
}
