:root {
  --navy: #03152f;
  --cyan: #20ddd4;
  --green: #00a884;
  --muted: #9fb5ca;
  --line: #174365;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 0, #0d4164 0, transparent 28%), var(--navy);
  color: #fff;
  font-family: Arial, sans-serif;
}
header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid #ffffff15;
}
header a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
header a span {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--cyan);
  color: var(--navy);
  font-size: 26px;
  font-weight: 900;
}
header a span small {
  position: absolute;
  right: 3px;
  bottom: 3px;
  padding: 0;
  background: transparent;
  color: var(--navy);
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
}
header b {
  letter-spacing: 0.08em;
}
header em {
  font-style: normal;
  color: var(--cyan);
}
header p {
  font-weight: 700;
}
main {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}
.hero {
  padding: 85px 0 65px;
  max-width: 920px;
}
.eyebrow {
  color: var(--cyan);
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 900;
}
.hero h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 18px 0;
}
.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}
.hero > p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}
.hero > a,
.onboarding form > button {
  display: inline-block;
  background: var(--cyan);
  color: var(--navy);
  padding: 17px 22px;
  border: 0;
  border-radius: 14px;
  font-weight: 900;
  text-decoration: none;
  margin-top: 18px;
}
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}
.features article {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff06;
  display: flex;
  flex-direction: column;
}
.features b {
  font-size: 25px;
  color: var(--cyan);
}
.features span {
  color: var(--muted);
  margin-top: 6px;
}
.demo {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 65px;
  align-items: center;
  padding: 52px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #071d38dd;
}
.panel h2,
.onboarding h2 {
  font-size: clamp(32px, 4vw, 50px);
  margin: 12px 0 25px;
}
.sectors {
  display: grid;
  gap: 11px;
}
.sectors button {
  display: grid;
  grid-template-columns: 45px 1fr;
  text-align: left;
  border: 1px solid var(--line);
  background: #061a33;
  color: #fff;
  border-radius: 15px;
  padding: 16px;
  font-size: 22px;
}
.sectors b {
  font-size: 15px;
}
.sectors small {
  grid-column: 2;
  color: var(--muted);
  margin-top: 4px;
}
.sectors button.active {
  border-color: var(--cyan);
  background: #0b3851;
}
.panel ul {
  color: var(--muted);
  line-height: 1.8;
  padding-left: 20px;
}
.phone {
  height: 640px;
  border: 7px solid #202c33;
  border-radius: 37px;
  overflow: hidden;
  background: #efeae2;
  color: #162733;
  display: flex;
  flex-direction: column;
}
.phone-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #075e54;
  color: #fff;
}
.phone-head > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #25d366;
  color: #073b34;
  font-weight: 900;
}
.phone-head div {
  display: flex;
  flex-direction: column;
}
.phone-head small {
  font-size: 11px;
  color: #d7f3ec;
  margin-top: 3px;
}
.phone-head i {
  margin-left: auto;
  font-style: normal;
}
.messages {
  flex: 1;
  padding: 18px;
  overflow: auto;
  background:
    linear-gradient(#efeae2e8, #efeae2e8),
    radial-gradient(#c9c1b5 1px, transparent 1px);
  background-size:
    auto,
    18px 18px;
}
.bubble {
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 10px;
  background: #fff;
  line-height: 1.4;
}
.bubble.user {
  margin-left: auto;
  background: #d9fdd3;
}
.bubble small {
  display: block;
  text-align: right;
  color: #68808b;
  font-size: 9px;
  margin-top: 5px;
}
.bubble.user small {
  color: #53bdeb;
}
.suggestions {
  display: flex;
  gap: 7px;
  overflow: auto;
  padding: 9px;
  background: #f0f2f5;
}
.suggestions button {
  white-space: nowrap;
  border: 1px solid #25a96c;
  border-radius: 999px;
  background: #fff;
  color: #08704b;
  padding: 8px 11px;
}
.phone form {
  display: flex;
  padding: 10px;
  background: #fff;
}
.phone input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 10px;
  font-size: 14px;
}
.phone form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}
.note {
  margin: 0;
  padding: 0 0 8px;
  text-align: center;
  background: #fff;
  color: #81929a;
  font-size: 10px;
}
.onboarding {
  margin: 70px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 48px;
  border-radius: 28px;
  background: linear-gradient(130deg, #0b3853, #0b6f7a);
}
.onboarding > div > p:last-child {
  color: #c5d9e5;
  line-height: 1.6;
}
.onboarding form {
  display: grid;
  gap: 13px;
}
.onboarding label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}
.onboarding input,
.onboarding select {
  width: 100%;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
}
.onboarding form > button {
  cursor: pointer;
  margin: 8px 0 0;
}
footer {
  text-align: center;
  color: #6f8ba4;
  padding: 20px 20px 45px;
}
@media (max-width: 850px) {
  header p {
    display: none;
  }
  .features {
    grid-template-columns: 1fr 1fr;
  }
  .demo,
  .onboarding {
    grid-template-columns: 1fr;
    padding: 25px;
  }
  .phone {
    width: min(100%, 430px);
    margin: auto;
  }
}
@media (max-width: 500px) {
  .features {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: 55px;
  }
  .demo {
    padding: 17px;
  }
  .onboarding {
    padding: 25px;
  }
  .phone {
    height: 610px;
  }
}
