/* DESIGN TOKENS */

:root {
  --bg: #F6F7FB;
  --surface: #FFFFFF;
  --ink: #15181E;
  --ink-soft: #3C4350;
  --muted: #68707E;
  --line: #E4E7EE;
  --accent: #1E7BE0;
  --accent-strong: #1668C2;
  --accent-ink: #0F4C93;
  --accent-soft: #E8F1FC;
  --dark: #14161B;
  --dark-line: rgba(255,255,255,.1);
  --amber: #8F5600;
  --amber-soft: #FFF3DE;
  --r-card: 20px;
  --r-input: 12px;
  --shadow-card: 0 1px 2px rgba(21,24,30,.04),0 12px 32px -12px rgba(21,24,30,.10);
  --shadow-pop: 0 24px 64px -24px rgba(21,24,30,.28);
  --max: 1200px;
}

/* BASE */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Onest",system-ui,-apple-system,sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

/* ============ 1500px ============ */
@media (max-width: 1500px) {
  .wrap {
    max-width: 1200px;
  }
}

/* ============ 680px ============ */
@media (max-width: 680px) {
  .wrap {
    padding: 0 18px;
  }

  section {
    padding: 64px 0;
  }
}

/* ============ 420px ============ */
@media (max-width: 420px) {
  .wrap {
    padding: 0 14px;
  }
}

/* SHARED COMPONENTS */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

h1 {
  letter-spacing: -.03em;
  line-height: 1.12;
  font-weight: 800;
  font-size: clamp(38px,5.4vw,62px);
}

h2 {
  letter-spacing: -.02em;
  line-height: 1.12;
  font-weight: 700;
  font-size: clamp(30px,4vw,44px);
  margin: 14px 0 16px;
}

h3 {
  letter-spacing: -.02em;
  line-height: 1.3;
  font-weight: 700;
  font-size: 20px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 56ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform .15s ease,background .15s ease,border-color .15s ease,box-shadow .15s ease;
}

.btn:active {
  transform: translateY(1px) scale(.985);
}

.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(22,104,194,.5);
}

.btn-primary:hover {
  background: #1263B8;
}

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #C7CDD8;
}

.btn-dark {
  background: #fff;
  color: var(--dark);
}

.btn-dark:hover {
  background: #E9EDF4;
}

.btn-outline-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}

.btn-outline-dark:hover {
  border-color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
}

:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 2px;
}

.final-card :focus-visible,
.flag-card :focus-visible {
  outline-color: #8FC0F5;
}

.icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: none;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.skip {
  position: fixed;
  top: -48px;
  left: 16px;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 12px 12px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  transition: top .15s ease;
}

.skip:focus-visible {
  top: 0;
}

.btn .icon {
  transition: transform .2s ease;
}

.btn:hover .icon {
  transform: translateX(3px);
}

/* NAVIGATION */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246,247,251,.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex: none;
  background: linear-gradient(135deg,#2E9BFF,#1E5FD8);
  display: grid;
  place-items: center;
  color: #fff;
}

.logo-mark .icon {
  width: 17px;
  height: 17px;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}

.nav-links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-left: 8px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-login {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-login:hover {
  color: var(--ink);
}

.nav .btn {
  height: 42px;
  padding: 0 20px;
  font-size: 15px;
}

.nav-account {
  gap: 9px;
  min-width: 174px;
}

.nav-account .icon {
  width: 19px;
  height: 19px;
}

.logo:hover .logo-mark .icon {
  transform: translate(2px,-2px);
}

.nav-account .acc-label {
  display: inline;
}

/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
}

/* ============ 900px ============ */
@media (max-width: 900px) {
  .nav-inner {
    gap: 18px;
  }
}

/* ============ 680px ============ */
@media (max-width: 680px) {
  .nav-login {
    display: none;
  }

  .nav-account {
    padding: 0 18px;
    min-width: 0;
  }
}

/* ============ 420px ============ */
@media (max-width: 420px) {
  .nav-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-account {
    padding: 0 14px;
    height: 40px;
    font-size: 14px;
  }

  .nav-account .icon {
    display: none;
  }

  .nav-cta .btn-primary {
    padding: 0 16px;
  }
}

/* HERO */

.hero {
  padding: 76px 0 90px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      700px 420px at 82% 8%,
      rgba(30,123,224,.10),
      transparent 65%
    ),
    radial-gradient(
      560px 380px at 6% 88%,
      rgba(30,123,224,.06),
      transparent 60%
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.05fr)
    minmax(0,.95fr);
  gap: 64px;
  align-items: center;
  position: relative;
  width: 100%;
}

.hero-grid > * {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px 7px 9px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(21,24,30,.04);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2BAE66;
  box-shadow: 0 0 0 4px rgba(43,174,102,.15);
  position: relative;
}

.hero h1 .em {
  color: var(--accent);
}

.hero .lead {
  margin: 22px 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
}

.hero-note .icon {
  width: 17px;
  height: 17px;
}

.hero-badge .dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid rgba(43,174,102,.45);
  animation: pulse 2.2s cubic-bezier(.16,1,.3,1) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(.55);
    opacity: 1;
  }
  70%,100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .hero-grid {
    grid-template-columns: minmax(0,1fr);
    gap: 52px;
  }
}

/* ============ 560px ============ */
@media (max-width: 560px) {
  .hero-actions {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .btn {
    width: auto;
  }
}

/* TELEGRAM MOCKUP */

.phone {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #FBFCFE;
}

.chat-head > div {
  min-width: 0;
}

.chat-ava {
  width: 40px;
  height: 40px;
  flex: none;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    #FF9D42,
    #F0573A
  );
}

.chat-ava img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.chat-title {
  overflow: hidden;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-sub {
  overflow: hidden;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 20px 16px 94px;
  background: linear-gradient(
    180deg,
    #F2F5FA,
    #EDF1F8
  );
}

.msg {
  max-width: 82%;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 16px;
  box-shadow: 0 1px 1px rgba(21,24,30,.05);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.msg-user {
  align-self: flex-end;
  border-bottom-right-radius: 6px;
  background: var(--accent);
  color: #fff;
}

.msg-bot {
  align-self: flex-start;
  border-bottom-left-radius: 6px;
  background: #fff;
}

.msg-img {
  width: max-content;
  max-width: 72%;
  padding: 6px;
}

.msg-img .ph {
  position: relative;
  height: 130px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 10px;
  border-radius: 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  isolation: isolate;
}

.msg-img .ph img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.msg-img .ph::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 42%,
    rgba(0,0,0,.68) 100%
  );
}

.msg-img .ph span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 4px 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.ph-raw {
  background: linear-gradient(
    160deg,
    #9AA6B6,
    #5C6878
  );
}

.ph-done {
  background: linear-gradient(
    160deg,
    #20304A 0%,
    #3E6396 55%,
    #7FA9DC 100%
  );
}

.ph-done::after {
  content: "";
  position: absolute;
  top: -24px;
  right: -24px;
  z-index: 1;
  width: 110px;
  height: 110px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,255,255,.28),
    transparent 70%
  );
}

.msg-time {
  display: block;
  margin-top: 4px;
  opacity: .6;
  font-size: 11px;
  text-align: right;
}

.chip-done {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 6px 14px;
  border-radius: 999px;
  background: #E6F6EC;
  color: #1D7A43;
  font-size: 13px;
  font-weight: 600;
}

.chip-done .icon {
  width: 15px;
  height: 15px;
}

.phone-tag {
  position: absolute;
  left: 18px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  padding: 12px 18px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--dark);
  box-shadow: var(--shadow-pop);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-tag .icon {
  width: 18px;
  height: 18px;
  flex: none;
  color: #7FB6F5;
}

.chat-body>* {
  opacity: 0;
  animation: msg-in .55s cubic-bezier(.16,1,.3,1) forwards;
}

.chat-body>*:nth-child(1) {
  animation-delay: .4s;
}

.chat-body>*:nth-child(2) {
  animation-delay: 1s;
}

.chat-body>*:nth-child(3) {
  animation-delay: 1.8s;
}

.chat-body>*:nth-child(4) {
  animation-delay: 2.5s;
}

.chat-body>*:nth-child(5) {
  animation-delay: 3.1s;
}

@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .phone {
    justify-self: center;
    margin: 0 auto;
  }

  .phone-tag {
    left: 10px;
    max-width: calc(100% - 20px);
  }
}




/* STATS */

.stats {
  padding: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.stat {
  display: grid;
  grid-template-rows: 36px auto;
  align-content: start;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  padding: 30px 28px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.stat:first-child {
  border-left: 0;
}

.stat b {
  display: block;
  min-width: 0;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  text-align: center;
  white-space: nowrap;
}

.stat span {
  display: block;
  min-width: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

/* ============ 1000px ============ */

@media (max-width: 1000px) {
  .stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    padding-right: 24px;
    padding-left: 24px;
  }

  .stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 660px);
    max-width: 660px;
    margin: 0;
  }

  .stat {
    align-content: center;
    justify-items: center;
    min-height: 174px;
    padding: 28px 24px;
    text-align: center;
  }

  .stat b,
  .stat span {
    justify-self: center;
    text-align: center;
  }

  .stat span {
    margin-top: 6px;
  }

  .stat:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }
}


/* ============ 680px ============ */
@media (max-width: 680px) {
  .stats-row {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  .stat {
    grid-template-columns: 150px minmax(0,1fr);
    grid-template-rows: auto;
    align-content: center;
    align-items: center;
    justify-items: stretch;
    gap: 18px;
    min-height: 78px;
    padding: 18px 20px;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .stat:first-child {
    border-top: 0;
  }

  .stat b,
  .stat span {
    width: auto;
    max-width: none;
    margin: 0;
    justify-self: start;
    text-align: left;
  }

  .stat span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* FLAGSHIP */

.flag-card {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  overflow: hidden;
  border-radius: 28px;
  background: var(--dark);
  color: #fff;
}

.flag-copy {
  padding: 64px 56px;
}

.flag-copy .eyebrow {
  color: #8FC0F5;
}

.flag-copy .eyebrow::before {
  background: #8FC0F5;
}

.flag-copy h2 {
  color: #fff;
}

.flag-copy .lead {
  color: #AFB6C2;
}

.flag-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 38px;
}

.flag-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #D8DCE4;
  font-size: 16px;
}

.flag-list .icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: #6FAEF0;
}

.flag-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  overflow: hidden;
  border-left: 1px solid var(--dark-line);
  background: radial-gradient(
      420px 300px at 70% 30%,
      rgba(127,169,220,.35),
      transparent 70%
    ),
    linear-gradient(
      200deg,
      #1B2536 0%,
      #131820 70%
    );
}

.flag-stack {
  position: relative;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
}

.flag-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.16,1,.3,1),scale .45s cubic-bezier(.16,1,.3,1);
}

.flag-frame img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.flag-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,.42) 100%
  );
}

.flag-frame.f1 {
  z-index: 1;
  background: linear-gradient(
    165deg,
    #3D2F26,
    #8A6B4E 60%,
    #D9B98F
  );
  transform: rotate(-7deg) translate(-14%,4%);
  scale: .86;
}

.flag-frame.f2 {
  z-index: 2;
  background: linear-gradient(
    160deg,
    #17263C,
    #3E6396 55%,
    #8FB6E4
  );
  transform: rotate(5deg) translate(12%,-3%);
  scale: .9;
}

.flag-frame.f3 {
  z-index: 3;
  background: linear-gradient(
    150deg,
    #232A22,
    #5D7050 60%,
    #B9C9A0
  );
}

.flag-frame .k {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: 6px 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0,0,0,.48);
  backdrop-filter: blur(6px);
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(6px);
}






@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .flag-visual:hover .f1 {
    transform: rotate(-11deg) translate(-22%,7%);
  }

  .flag-visual:hover .f2 {
    transform: rotate(9deg) translate(20%,-6%);
  }

  .flag-visual:hover .f3 {
    transform: rotate(-1.5deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .flag-visual.is-touch-active .f1 {
    transform: rotate(-11deg) translate(-22%,7%);
  }

  .flag-visual.is-touch-active .f2 {
    transform: rotate(9deg) translate(20%,-6%);
  }

  .flag-visual.is-touch-active .f3 {
    transform: rotate(-1.5deg);
  }
}






/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .flag-card {
    grid-template-columns: 1fr;
  }

  .flag-visual {
    min-height: 360px;
    border-left: 0;
    border-top: 1px solid var(--dark-line);
  }
}

/* ============ 680px ============ */
@media (max-width: 680px) {
  .flag-copy {
    padding: 44px 28px;
  }
}






/* BOTS GRID */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}

.bot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition:
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease,
    border-color .3s ease;
}

.bot-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.bot-icon .icon {
  width: 26px;
  height: 26px;
}

.bot-card h3 {
  min-width: 0;
}

.bot-card p {
  min-width: 0;
  flex: 1;
  color: var(--muted);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.badge-dev {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--amber-soft);
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

.bot-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
}

.bot-link .icon {
  width: 17px;
  height: 17px;
  transition: transform .15s ease;
}

.bot-link:hover .icon {
  transform: translateX(3px);
}

.bot-card:hover {
  transform: translateY(-4px);
  border-color: #D0D6E1;
  box-shadow:
    0 1px 2px rgba(21,24,30,.04),
    0 22px 44px -16px rgba(21,24,30,.16);
}

/* ============ 1000px ============ */

@media (max-width: 1000px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bot-card {
    display: grid;
    grid-template-columns:
      52px
      minmax(0,1fr)
      auto;
    grid-template-areas:
      "icon title badge"
      "icon text text"
      "icon link link";
    column-gap: 20px;
    row-gap: 10px;
    align-items: start;
    padding: 24px 26px;
  }

  .bot-card .bot-icon {
    grid-area: icon;
  }

  .bot-card h3 {
    grid-area: title;
    align-self: center;
    margin: 0;
  }

  .bot-card p {
    grid-area: text;
    max-width: 72ch;
    margin: 0;
  }

  .bot-card .bot-link {
    grid-area: link;
    justify-self: start;
    margin-top: 2px;
  }

  .bot-card .badge-dev {
    position: static;
    grid-area: badge;
    align-self: center;
    justify-self: end;
  }
}

/* ============ 560px ============ */

@media (max-width: 560px) {
  .bot-card {
    grid-template-columns:
      48px
      minmax(0,1fr)
      auto;
    grid-template-areas:
      "icon title badge"
      "text text text"
      "link link link";
    column-gap: 14px;
    row-gap: 12px;
    align-items: start;
    padding: 22px 20px;
  }

  .bot-card .bot-icon {
    grid-area: icon;
    width: 48px;
    height: 48px;
  }

  .bot-card h3 {
    grid-area: title;
    align-self: center;
    margin: 0;
  }

  .bot-card .badge-dev {
    position: static;
    grid-area: badge;
    align-self: center;
    justify-self: end;
  }

  .bot-card p {
    grid-area: text;
    width: 100%;
    max-width: none;
    margin: 4px 0 0;
  }

  .bot-card .bot-link {
    grid-area: link;
    justify-self: start;
    margin-top: 2px;
  }
}


/* ============ 420px ============ */

@media (max-width: 420px) {
  .bot-card {
    grid-template-columns:
      48px
      minmax(0,1fr);
    grid-template-areas:
      "icon badge"
      "icon title"
      "icon text"
      "icon link";
    column-gap: 14px;
    row-gap: 10px;
    padding: 22px 20px;
  }

  .bot-card .bot-icon {
    width: 48px;
    height: 48px;
  }

  .bot-card .badge-dev {
    justify-self: end;
  }
}





/* MODES */

.modes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.mode {
  padding: 44px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition:
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease,
    border-color .3s ease;
}

.mode-num {
  display: inline-block;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 14px;
  font-weight: 700;
}

.mode h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.mode > p {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 16px;
}

.steps {
  display: grid;
  width: 100%;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: 26px minmax(0,1fr);
  align-items: center;
  column-gap: 14px;
  min-width: 0;
  min-height: 54px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.5;
}

.steps li:first-child {
  border-top: 0;
}

.step-n {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: center;
  margin: 0;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.mode-link {
  margin-top: 18px;
}

.mode:hover {
  transform: translateY(-4px);
  border-color: #D0D6E1;
  box-shadow:
    0 1px 2px rgba(21,24,30,.04),
    0 22px 44px -16px rgba(21,24,30,.16);
}


/* ============ 1000px ============ */

@media (max-width: 1000px) {
  .modes {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mode {
    display: grid;
    grid-template-columns:
      minmax(240px,.85fr)
      minmax(0,1.15fr);
    grid-template-areas:
      "num steps"
      "title steps"
      "copy steps"
      "link steps";
    column-gap: 32px;
    row-gap: 0;
    align-items: start;
    padding: 30px 32px;
  }

  .mode-num {
    grid-area: num;
    justify-self: start;
    margin: 0 0 16px;
  }

  .mode h3 {
    grid-area: title;
    min-width: 0;
    margin: 0 0 10px;
  }

  .mode > p {
    grid-area: copy;
    min-width: 0;
    max-width: 44ch;
    margin: 0;
  }

  .mode .steps {
    grid-area: steps;
    align-self: stretch;
    min-width: 0;
    padding-left: 28px;
    border-left: 1px solid var(--line);
  }

  .mode .steps li {
    min-height: 54px;
    padding: 11px 0;
  }

  .mode .mode-link {
    grid-area: link;
    align-self: end;
    justify-self: start;
    margin-top: 16px;
  }
}


/* ============ 700px ============ */

@media (max-width: 700px) {
  #modes {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .modes {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  .mode {
    grid-template-columns: 1fr;
    grid-template-areas:
      "num"
      "title"
      "copy"
      "steps"
      "link";
    row-gap: 0;
    padding: 24px;
  }

  .mode-num {
    margin: 0 0 16px;
  }

  .mode h3 {
    margin: 0 0 10px;
  }

  .mode > p {
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
  }

  .mode .steps {
    width: 100%;
    padding: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mode .steps li {
    grid-template-columns: 26px minmax(0,1fr);
    column-gap: 12px;
    min-height: 0;
    padding: 11px 0;
  }

  .mode .steps li:first-child {
    border-top: 0;
  }

  .mode .mode-link {
    margin-top: 14px;
  }
}


/* ============ 420px ============ */

@media (max-width: 420px) {
  #modes {
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .modes {
    gap: 12px;
    margin-top: 28px;
  }

  .mode {
    padding: 22px 18px;
  }

  .mode-num {
    margin-bottom: 14px;
  }

  .mode > p {
    margin-bottom: 14px;
  }

  .mode .steps li {
    column-gap: 10px;
    padding: 10px 0;
  }

  .mode .mode-link {
    margin-top: 12px;
  }
}










/* WHY */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin-top: 48px;
}

.why {
  min-width: 0;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}

.why h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.why p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}


/* ============ 1000px ============ */

@media (max-width: 1000px) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .why {
    display: grid;
    grid-template-columns:
      220px
      minmax(0,1fr);
    align-items: start;
    column-gap: 36px;
    padding: 24px 0;
  }

  .why h3 {
    min-width: 0;
    margin: 0;
  }

  .why p {
    min-width: 0;
    margin: 0;
  }
}


/* ============ 680px ============ */

@media (max-width: 680px) {
  .why {
    grid-template-columns: 1fr;
    row-gap: 10px;
  }
}








/* REVIEWS */

.reviews {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rev-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  margin-top: 48px;
}

.rev {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  transition:
    transform .3s cubic-bezier(.16,1,.3,1),
    box-shadow .3s ease,
    border-color .3s ease;
}

.rev q {
  min-width: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.6;
  quotes: none;
  overflow-wrap: anywhere;
}

.quote-tail {
  white-space: nowrap;
}

.rev-who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: auto;
}

.rev-ava {
  position: relative;
  width: 42px;
  height: 42px;
  display: block;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
}

.rev-ava.a1 {
  background: linear-gradient(
    135deg,
    #5B8DEF,
    #2D5FD0
  );
}

.rev-ava.a2 {
  background: linear-gradient(
    135deg,
    #F0885B,
    #D2543A
  );
}

.rev-ava.a3 {
  background: linear-gradient(
    135deg,
    #5BB98B,
    #2E8B60
  );
}

.rev-ava img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.rev-person {
  display: grid;
  align-content: center;
  gap: 2px;
  min-width: 0;
}

.rev-person b {
  display: block;
  font-size: 15px;
  line-height: 1.25;
}

.rev-role {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.rev-company {
  display: block;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.rev:hover {
  transform: translateY(-4px);
  border-color: #D0D6E1;
}


/* ============ 1000px ============ */

@media (max-width: 1000px) {
  .rev-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 40px;
  }

  .rev {
    display: grid;
    grid-template-columns:
      minmax(0,1fr)
      220px;
    align-items: center;
    column-gap: 36px;
    row-gap: 0;
    padding: 26px 28px;
  }

  .rev q {
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .rev-who {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
}


/* ============ 680px ============ */

@media (max-width: 680px) {
  .rev-grid {
    gap: 14px;
    margin-top: 32px;
  }

  .rev {
    grid-template-columns: 1fr;
    row-gap: 18px;
    padding: 24px 22px;
  }

  .rev-who {
    justify-self: start;
  }
}


/* ============ 420px ============ */

@media (max-width: 420px) {
  .rev {
    padding: 22px 20px;
  }
}








/* FAQ */

#faq {
  padding-top: 40px;
  padding-bottom: 96px;
}

#faq .section-center {
  width: min(100%,760px);
  margin: 0 auto;
}

.faq-list {
  --faq-hover-delay-ms: 45;
  --faq-open-duration-ms: 460;
  --faq-close-duration-ms: 320;
  --faq-answer-duration: 240ms;
  --faq-motion-easing: cubic-bezier(.2,.75,.2,1);
  --faq-reserved-height: 640px;
  width: min(100%,760px);
  margin: 36px auto 0;
}

.faq-list details {
  position: relative;
  height: auto;
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  transition: border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.faq-list details:last-child {
  margin-bottom: 0;
}

.faq-list details.is-animating {
  overflow: hidden;
  will-change: height;
}

.faq-list summary {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 26px;
  cursor: pointer;
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  transition: color 200ms ease,
    background-color 200ms ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary:hover {
  color: var(--accent-strong);
}

.faq-list summary .icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
  transition: transform 360ms var(--faq-motion-easing),
    color 200ms ease;
}

.faq-list details.is-expanded {
  border-color: #D0D6E1;
  box-shadow: 0 1px 2px rgba(21,24,30,.04),
    0 14px 34px -22px rgba(21,24,30,.22);
}

.faq-list details.is-expanded summary .icon {
  color: var(--accent-strong);
  transform: rotate(45deg);
}

.faq-list .faq-a {
  display: block;
  max-width: 62ch;
  margin: 0;
  padding: 0 26px 24px;
  opacity: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  transform: translateY(-7px);
  transition: opacity var(--faq-answer-duration) ease,
    transform var(--faq-answer-duration)
      var(--faq-motion-easing);
  transition-delay: 0ms;
}

.faq-list details.is-expanded .faq-a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 70ms;
}

.faq-list details.is-closing .faq-a {
  opacity: 0;
  transform: translateY(-5px);
  transition-delay: 0ms;
}

.faq-list .faq-a a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

summary {
  transition: color .15s ease;
}

summary:hover {
  color: var(--accent-strong);
}

.faq-list details[open] .faq-a {
  animation: none;
}

/* ============ min-width 701px ============ */
@media (min-width: 701px) {
  .faq-list {
    min-height: var(--faq-reserved-height);
  }

  .faq-list details {
    scroll-margin-top: 96px;
  }
}

/* ============ 700px ============ */
@media (max-width: 700px) {
  #faq {
    padding-bottom: 64px;
  }

  #faq .section-center {
    width: 100%;
  }

  .faq-list {
    min-height: 0;
    margin-top: 32px;
  }

  .faq-list summary {
    min-height: 64px;
    padding: 18px 20px;
    font-size: 16px;
  }

  .faq-list .faq-a {
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
  }
}

/* FINAL CTA */

.final {
  padding-bottom: 110px;
}

.final-card {
  background: var(--dark);
  color: #fff;
  border-radius: 28px;
  padding: 80px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(560px 320px at 50% -10%,rgba(30,123,224,.35),transparent 70%);
}

.final-card h2 {
  color: #fff;
  max-width: 18ch;
  margin: 0 auto 16px;
}

.final-card p {
  color: #AFB6C2;
  font-size: 17px;
  max-width: 52ch;
  margin: 0 auto 36px;
}

.final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ============ 680px ============ */
@media (max-width: 680px) {
  .final-card {
    padding: 56px 24px;
  }
}

/* ============ 560px ============ */
@media (max-width: 560px) {
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-actions .btn {
    width: 100%;
  }
}

/* FOOTER */

.bigfoot {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 80px 0 0;
  background: var(--dark);
  color: #fff;
}

.bigfoot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      640px 340px at 18% 0%,
      rgba(30,123,224,.16),
      transparent 70%
    );
}

.bigfoot > .wrap {
  position: relative;
  z-index: 2;
}


.bf-top {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 56px;
  padding-bottom: 56px;
  position: relative;
}

.bf-brand p {
  color: #A7AEBB;
  font-size: 15px;
  max-width: 34ch;
  margin: 18px 0 26px;
}

.bf-logo {
  color: #fff;
}

.bf-col {
  display: grid;
  gap: 13px;
  align-content: start;
  font-size: 15px;
}

.bf-col b {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7C8492;
  margin-bottom: 6px;
}

.bf-col a {
  color: #C3C9D4;
  width: max-content;
  position: relative;
  transition: color .15s ease;
}

.bf-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}

.bf-col a:hover {
  color: #fff;
}

.bf-col a:hover::after {
  transform: scaleX(1);
}

.bf-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--dark-line);
  padding: 22px 0;
  font-size: 14px;
  color: #7C8492;
  position: relative;
}

.bf-meta div {
  display: flex;
  gap: 22px;
}

.bf-meta a {
  color: #7C8492;
  transition: color .15s ease;
}

.bf-meta a:hover {
  color: #fff;
}

.bigfoot :focus-visible {
  outline-color: #8FC0F5;
}

.wordmark {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 10px 8px 0;
  margin-bottom: -0.14em;
  cursor: default;
  user-select: none;
}

.wordmark span {
  font-size: clamp(88px,17.5vw,236px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  display: inline-block;
  transform-origin: 50% 100%;
  will-change: transform;
  background: linear-gradient(180deg,#3A4150 0%,#232833 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .bf-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .bf-brand {
    grid-column: 1 / -1;
  }
}

/* ============ 680px ============ */
@media (max-width: 680px) {
  .bigfoot {
    padding-top: 56px;
  }

  .bf-top {
    padding-bottom: 40px;
  }

  .bf-meta {
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
}

/* REQUEST FORM */

.req {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.req-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr)
    minmax(0,1fr);
  gap: 64px;
  align-items: start;
}

.req-grid > * {
  min-width: 0;
}

.req-points {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.req-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.req-points .icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

.req-reply {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.req-reply .icon {
  width: 17px;
  height: 17px;
  flex: none;
}

.form {
  width: 100%;
  min-width: 0;
  padding: 38px 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}

.form-fields {
  display: grid;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.form-fields > * {
  min-width: 0;
}

.field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field label {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.field input {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color .15s ease,
    box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
  height: 48px;
  padding: 0 16px;
}

.field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.45;
  transition: border-color .15s ease,
    box-shadow .15s ease;
  appearance: none;
  -webkit-appearance: none;
  min-height: 120px;
  padding: 13px 16px;
  overflow: auto;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #76808F;
  opacity: 1;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30,123,224,.16);
}

.field .hint {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.field .err {
  display: none;
  color: #B4231F;
  font-size: 13px;
  line-height: 1.4;
}

.field.invalid input,
.field.invalid textarea {
  border-color: #D4534F;
  box-shadow: 0 0 0 3px rgba(212,83,79,.12);
}

.field.invalid .err {
  display: block;
}

.form .btn {
  width: 100%;
  margin: 0;
}

.contact-form-status {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.contact-form-status:empty {
  display: none;
}

.form-fine {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.form-fine a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-done {
  display: none;
  padding: 28px 8px;
  text-align: center;
}

.form-done .icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: #1D7A43;
}

.form-done b {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.form-done p {
  color: var(--muted);
  font-size: 15px;
}

.form.sent .form-fields {
  display: none;
}

.form.sent .form-done {
  display: block;
}


.form-consent {
  display: grid;
  grid-template-columns: 18px minmax(0,1fr);
  align-items: start;
  column-gap: 10px;
  row-gap: 6px;
  width: 100%;
  min-width: 0;
  margin: 0;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent-strong);
  cursor: pointer;
}

.form-consent label {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.form-consent label a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-consent__error {
  display: none;
  grid-column: 2;
  margin: 0;
  color: #B4231F;
  font-size: 13px;
  line-height: 1.4;
}

.form-consent.invalid .form-consent__error {
  display: block;
}

.form-consent.invalid label {
  color: #B4231F;
}

.form-consent.invalid input {
  outline: 2px solid rgba(180,35,31,.32);
  outline-offset: 2px;
}




/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .req-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

/* ============ 680px ============ */
@media (max-width: 680px) {
  .form {
    padding: 28px 20px;
  }
}

/* ============ 420px ============ */
@media (max-width: 420px) {
  .form {
    padding: 24px 16px;
  }
}

/* AMBASSADORS */

.amb-card {
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(120deg,var(--accent-soft) 0%,#F3F8FE 55%,#FFFFFF 100%);
  border: 1px solid #D7E6F8;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  padding: 60px 56px;
}

.amb-card::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(30,123,224,.14),transparent 70%);
  pointer-events: none;
}

.amb-card h2 {
  margin-top: 14px;
}

.amb-card>div>p {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
  margin: 0 0 32px;
}

.amb-perks {
  display: grid;
  gap: 14px;
  position: relative;
}

.amb-perks li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  box-shadow: 0 1px 2px rgba(21,24,30,.04);
  transition: transform .25s cubic-bezier(.16,1,.3,1),box-shadow .25s ease;
}

.amb-perks li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
}

.amb-perks .icon {
  color: var(--accent-strong);
  width: 22px;
  height: 22px;
  flex: none;
}

/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .amb-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 32px;
  }
}

/* NEWS */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-card);
  transition: transform .3s cubic-bezier(.16,1,.3,1),box-shadow .3s ease,border-color .3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: #D0D6E1;
  box-shadow: 0 1px 2px rgba(21,24,30,.04),0 22px 44px -16px rgba(21,24,30,.16);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.news-tag {
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
}

.news-card h3 {
  font-size: 19px;
}

.news-card p {
  font-size: 15px;
  color: var(--muted);
  flex: 1;
}

.news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.news-all {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}

.news-all .icon {
  width: 18px;
  height: 18px;
  transition: transform .15s ease;
}

.news-all:hover .icon {
  transform: translateX(3px);
}

/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============ 900px ============ */
@media (max-width: 900px) {
  .news-head {
    align-items: flex-start;
  }
}

/* ============ 560px ============ */
@media (max-width: 560px) {
  .news-head {
    gap: 18px;
    flex-direction: column;
  }

  .news-all {
    align-self: flex-start;
  }
}

/* ============ 420px ============ */
@media (max-width: 420px) {
  .news-card {
    padding: 22px;
  }
}

/* NEWS PAGES */

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell main {
  flex: 1;
}

.subpage-nav .nav-links a[aria-current="page"] {
  color: var(--accent-ink);
}

.news-hero {
  padding: 72px 0 44px;
}

.news-hero h1 {
  max-width: 16ch;
  margin: 14px 0 18px;
}

.news-hero .lead {
  max-width: 68ch;
}

.news-list {
  padding: 40px 0 96px;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.news-list-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.news-card-title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0;
}

.news-list-card p {
  margin-bottom: 24px;
}

.news-list-card .bot-link {
  margin-top: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.breadcrumbs a:hover {
  color: var(--accent-ink);
}

.article-page {
  padding: 56px 0 96px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0,760px) minmax(220px,1fr);
  gap: 64px;
  align-items: start;
}

.article-header {
  margin-bottom: 34px;
}

.article-header h1 {
  font-size: clamp(36px,5vw,58px);
  margin: 14px 0 18px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}

.article-body {
  font-size: 18px;
  color: var(--ink-soft);
}

.article-body p {
  margin: 0 0 22px;
}

.article-body h2 {
  font-size: 30px;
  margin: 42px 0 18px;
}

.article-body ul {
  display: grid;
  gap: 12px;
  margin: 0 0 24px;
}

.article-body li {
  position: relative;
  padding-left: 24px;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.article-aside {
  position: sticky;
  top: 104px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.article-aside h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.article-aside p {
  color: var(--muted);
  margin-bottom: 18px;
}

.article-aside .btn {
  width: 100%;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-ink);
  font-weight: 600;
  margin-top: 28px;
}

.article-back .icon {
  transform: rotate(180deg);
}

.empty-news {
  padding: 40px;
  border: 1px dashed var(--line);
  border-radius: var(--r-card);
  color: var(--muted);
  background: var(--surface);
}

/* ============ 1000px ============ */
@media (max-width: 1000px) {
  .news-list-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .article-aside {
    position: static;
  }
}

/* ============ 900px ============ */
@media (max-width: 900px) {
  .news-hero {
    padding-top: 56px;
  }
}

/* ============ 680px ============ */
@media (max-width: 680px) {
  .article-page {
    padding: 40px 0 72px;
  }

  .article-header h1 {
    font-size: clamp(34px,10vw,48px);
  }

  .article-body {
    font-size: 17px;
  }
}

/* ============ 560px ============ */
@media (max-width: 560px) {
  .breadcrumbs {
    font-size: 13px;
  }

  .article-aside {
    padding: 20px;
  }
}

/* ============ 420px ============ */
@media (max-width: 420px) {
  .news-list-card {
    padding: 22px;
  }

  .article-header h1 {
    font-size: 34px;
  }

  .article-body h2 {
    font-size: 26px;
  }
}

/* ACCOUNT AND SYSTEM PAGES */

.utility-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.utility-main {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.utility-section {
  width: 100%;
  padding: 88px 0 104px;
}

.utility-shell {
  max-width: 1100px;
  margin: 0 auto;
}

.account-shell {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(420px,.86fr);
  gap: 72px;
  align-items: center;
}

.utility-copy h1 {
  margin: 18px 0 24px;
}

.utility-copy .lead {
  max-width: 52ch;
}

.account-benefits {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.account-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 16px;
}

.account-benefits .icon {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--accent-strong);
}

.account-panel {
  display: grid;
  gap: 16px;
}

.account-option {
  display: grid;
  gap: 20px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}

.account-option-primary {
  border-color: #C6DBF4;
  box-shadow: 0 1px 2px rgba(21,24,30,.04),
    0 20px 48px -22px rgba(22,104,194,.28);
}

.account-option-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: var(--accent-ink);
  background: var(--accent-soft);
}

.account-option-icon .icon {
  width: 24px;
  height: 24px;
}

.account-option h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.account-option p {
  color: var(--muted);
  font-size: 15px;
}

.account-button {
  width: 100%;
}

.account-note {
  padding: 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.utility-footer {
  margin-top: auto;
}

.error-section {
  display: flex;
  align-items: center;
}

.error-shell {
  min-height: 460px;
  display: grid;
  grid-template-columns: minmax(280px,.72fr) minmax(0,1fr);
  align-items: center;
  gap: 72px;
  padding: 64px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}

.error-code {
  font-size: clamp(120px,18vw,230px);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.08em;
  color: var(--accent-soft);
  user-select: none;
}

.error-copy h1 {
  margin: 18px 0 22px;
}

.utility-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ============ 900px ============ */
@media (max-width: 900px) {
  .utility-section {
    padding: 72px 0 88px;
  }

  .error-shell {
    grid-template-columns: 1fr;
  }

  .error-code {
    font-size: 132px;
  }
}

/* ============ 680px ============ */
@media (max-width: 680px) {
  .account-panel {
    grid-template-columns: 1fr;
  }

  .account-note {
    grid-column: auto;
  }

  .error-shell {
    min-height: 0;
    padding: 40px 28px;
  }
}

/* ============ 560px ============ */
@media (max-width: 560px) {
  .utility-section {
    padding: 56px 0 72px;
  }

  .account-option {
    padding: 24px 20px;
  }

  .utility-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .utility-actions .btn {
    width: 100%;
  }
}

/* ============ 420px ============ */
@media (max-width: 420px) {
  .utility-copy h1 {
    font-size: 34px;
  }

  .error-shell {
    padding: 32px 20px;
    border-radius: 20px;
  }

  .error-code {
    font-size: 104px;
  }
}

/* UTILITIES */

.bot-link-spaced {
  margin-top: 22px;
  display: inline-flex;
}

.section-title-compact {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

.eyebrow-center {
  justify-content: center;
}

.text-link {
  color: var(--accent-ink);
  text-decoration: underline;
}

.form-fields-spaced {
  display: grid;
  gap: 20px;
}

/* ICONS */

.icon-telegram {
  -webkit-mask-image: url("../img/icon-telegram.svg");
  mask-image: url("../img/icon-telegram.svg");
}

.icon-account {
  -webkit-mask-image: url("../img/icon-account.svg");
  mask-image: url("../img/icon-account.svg");
}

.icon-arrow-right {
  -webkit-mask-image: url("../img/icon-arrow-right.svg");
  mask-image: url("../img/icon-arrow-right.svg");
}

.icon-lock {
  -webkit-mask-image: url("../img/icon-lock.svg");
  mask-image: url("../img/icon-lock.svg");
}

.icon-check {
  -webkit-mask-image: url("../img/icon-check.svg");
  mask-image: url("../img/icon-check.svg");
}

.icon-lightning {
  -webkit-mask-image: url("../img/icon-lightning.svg");
  mask-image: url("../img/icon-lightning.svg");
}

.icon-user {
  -webkit-mask-image: url("../img/icon-user.svg");
  mask-image: url("../img/icon-user.svg");
}

.icon-inbox {
  -webkit-mask-image: url("../img/icon-inbox.svg");
  mask-image: url("../img/icon-inbox.svg");
}

.icon-waveform {
  -webkit-mask-image: url("../img/icon-waveform.svg");
  mask-image: url("../img/icon-waveform.svg");
}

.icon-bulb {
  -webkit-mask-image: url("../img/icon-bulb.svg");
  mask-image: url("../img/icon-bulb.svg");
}

.icon-dollar {
  -webkit-mask-image: url("../img/icon-dollar.svg");
  mask-image: url("../img/icon-dollar.svg");
}

.icon-graduation {
  -webkit-mask-image: url("../img/icon-graduation.svg");
  mask-image: url("../img/icon-graduation.svg");
}

.icon-plus {
  -webkit-mask-image: url("../img/icon-plus.svg");
  mask-image: url("../img/icon-plus.svg");
}

.icon-clock {
  -webkit-mask-image: url("../img/icon-clock.svg");
  mask-image: url("../img/icon-clock.svg");
}

.icon-success {
  -webkit-mask-image: url("../img/icon-success.svg");
  mask-image: url("../img/icon-success.svg");
}

/* REVEAL */

.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1);
}

.rv.in {
  opacity: 1;
  transform: none;
}





/* SIGNUP PLACEHOLDER */

/* SIGNUP */

.signup-section {
  position: relative;
  overflow: hidden;
}

.signup-section::before {
  position: absolute;
  top: 34px;
  right: max(
    24px,
    calc((100vw - var(--max)) / 2)
  );
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(30, 123, 224, 0.1),
    rgba(30, 123, 224, 0)
  );
  content: "";
  pointer-events: none;
}

.signup-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.signup-copy .lead {
  max-width: 48ch;
}

.signup-card {
  display: block;
  padding: 34px;
  border-radius: 28px;
}

.signup-card__head {
  margin-bottom: 30px;
}

.signup-card__meta {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 16px;
}

.signup-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}

.signup-card__icon .icon {
  width: 23px;
  height: 23px;
}

.signup-card__eyebrow {
  display: block;
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.signup-card h2 {
  width: 100%;
  margin: 0;
  font-size: clamp(28px, 2.4vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.signup-form {
  display: grid;
  gap: 16px;
  width: 100%;
  min-width: 0;
}

.signup-form .field {
  gap: 8px;
}

.signup-phone-control {
  position: relative;
}

.signup-phone-control > .icon {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 1;
  width: 20px;
  height: 20px;
  color: var(--accent-strong);
  transform: translateY(-50%);
  pointer-events: none;
}

.signup-phone-control input {
  height: 58px;
  padding-right: 18px;
  padding-left: 52px;
  border-radius: 16px;
  font-size: 17px;
}

.signup-phone-control input:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(30, 123, 224, 0.13);
}

.signup-submit {
  width: 100%;
  height: 54px;
  margin: 2px 0 0;
}

.signup-submit:disabled {
  cursor: wait;
  opacity: 0.76;
}

.signup-consent {
  grid-template-columns: 19px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 4px;
  align-items: start;
  padding: 0 1px;
}

.signup-consent input {
  width: 19px;
  height: 19px;
  margin-top: 1px;
}

.signup-consent label {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.signup-consent label a {
  color: var(--accent-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.signup-consent .form-consent__error {
  grid-column: 2;
  margin: 1px 0 0;
  font-size: 12px;
  line-height: 1.4;
}

.signup-consent.invalid label {
  color: var(--muted);
}

.signup-consent.invalid input {
  outline: 2px solid rgba(180, 35, 31, 0.28);
  outline-offset: 2px;
}

.signup-form-status {
  margin: 0;
  color: #b4231f;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}

.signup-form-status:empty {
  display: none;
}

.signup-result {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid #c6dbf4;
  border-radius: 15px;
  background: var(--accent-soft);
}

.signup-result[hidden] {
  display: none;
}

.signup-result > .icon {
  width: 21px;
  height: 21px;
  margin-top: 1px;
  color: var(--accent-strong);
}

.signup-card .signup-result p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.signup-result a {
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .signup-shell {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 680px;
  }

  .signup-section::before {
    right: 0;
  }

  .signup-copy .lead {
    max-width: 54ch;
  }
}

@media (max-width: 560px) {
  .signup-card {
    padding: 26px 20px;
    border-radius: 22px;
  }

  .signup-card__head {
    margin-bottom: 25px;
  }

  .signup-card__meta {
    margin-bottom: 14px;
  }

  .signup-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .signup-card__icon .icon {
    width: 22px;
    height: 22px;
  }

  .signup-card h2 {
    font-size: 28px;
  }

  .signup-phone-control input {
    height: 54px;
    font-size: 16px;
  }
}

@media (max-width: 420px) {
  .signup-card__meta {
    gap: 11px;
  }

  .signup-card h2 {
    font-size: 26px;
  }

  .signup-result {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signup-submit {
    transition: none;
  }
}






/* REDUCED MOTION */

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

  .btn,
  .logo-mark .icon,
  .flag-frame,
  .bot-card,
  .bot-link .icon,
  .mode,
  .rev,
  .faq-list details {
    transition: none;
  }

  .faq-list details.is-animating {
    will-change: auto;
  }

  .faq-list summary,
  .faq-list summary .icon {
    transition: none;
  }

  .faq-list .faq-a {
    transition: none;
    transform: none;
  }

  .amb-perks li {
    transition: none;
  }

  .amb-perks li:hover,
  .bot-card:hover,
  .mode:hover,
  .rev:hover {
    transform: none;
  }

  .btn .icon {
    transition: none;
  }

  .btn:hover .icon,
  .logo:hover .logo-mark .icon {
    transform: none;
  }

  .hero-badge .dot::after,
  .chat-body > * {
    animation: none;
    opacity: 1;
  }

  .news-card {
    transition: none;
  }

  .news-card:hover {
    transform: none;
  }

  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }

  details[open] .faq-a {
    animation: none;
    opacity: 1;
  }
}




