:root {
  --bg: #f8faff;
  --text: #07142f;
  --muted: #69758f;
  --blue: #176cff;
  --violet: #6d3cff;
  --line: rgba(25, 54, 103, .10);
  --surface: rgba(255, 255, 255, .70);
  --max: 1440px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 35%, rgba(54, 131, 255, .07), transparent 30%),
    radial-gradient(circle at 86% 78%, rgba(111, 60, 255, .055), transparent 26%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  overflow: hidden;
}

.ambient {
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(110px);
  pointer-events: none;
}

.ambient-blue {
  width: 620px;
  height: 620px;
  right: -230px;
  top: 4%;
  background: rgba(30, 112, 255, .09);
}

.ambient-violet {
  width: 520px;
  height: 520px;
  right: 8%;
  bottom: -300px;
  background: rgba(109, 60, 255, .07);
}

/* Header */

.site-header {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  padding: 30px 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-name {
  font-size: 20px;
  line-height: 1;
  font-weight: 720;
  letter-spacing: -.035em;
}

.brand-divider {
  width: 1px;
  height: 24px;
  margin: 0 4px;
  background: var(--line);
}

.brand-subtitle {
  color: #77839a;
  font-size: 13px;
  white-space: nowrap;
}

.status {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  color: #6c7890;
  font-size: 12px;
  font-weight: 520;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .64);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #13bc72;
  box-shadow: 0 0 0 4px rgba(19, 188, 114, .09);
}

/* Hero */

.hero {
  width: min(var(--max), calc(100% - 72px));
  flex: 1;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(510px, .88fr) minmax(620px, 1.12fr);
  align-items: center;
  gap: 16px;
  padding: clamp(48px, 6vh, 86px) 0 clamp(64px, 8vh, 108px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: 8px;
}

.eyebrow {
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1 {
  max-width: 690px;
  margin: 0;
  color: #06132d;
  font-size: clamp(64px, 6.15vw, 104px);
  line-height: .94;
  font-weight: 690;
  letter-spacing: -.066em;
}

h1 span {
  display: block;

  /* даём место нижним выносным элементам: g, p, y */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;

  color: transparent;

  background: linear-gradient(
    105deg,
    #1b74ff 0%,
    #4059ff 46%,
    #7938f2 100%
  );

  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 610px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.28vw, 20px);
  line-height: 1.58;
  letter-spacing: -.012em;
}

.concepts {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.concepts span {
  padding: 9px 13px;
  color: #647087;
  font-size: 11px;
  line-height: 1;
  border: 1px solid rgba(27, 64, 123, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Graph illustration */

.hero-graph {
  position: relative;
  min-width: 0;
  height: min(720px, 72vh);
  display: flex;
  align-items: center;
  justify-content: center;
}

.graph-halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle,
      rgba(34, 129, 255, .12) 0%,
      rgba(92, 87, 255, .055) 42%,
      transparent 70%);
  filter: blur(28px);
}

.graph-image {
  position: relative;
  z-index: 1;
  width: min(115%, 850px);
  max-width: none;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 34px 60px rgba(45, 86, 185, .08));
  transform: translateX(3%);
  animation: graph-float 9s ease-in-out infinite;
}

@keyframes graph-float {
  0%, 100% { transform: translate(3%, 0); }
  50% { transform: translate(3%, -7px); }
}

/* Footer */

.site-footer {
  width: min(var(--max), calc(100% - 72px));
  margin: 0 auto;
  padding: 22px 0 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  color: #9aa4b6;
  font-size: 11px;
}

.site-footer strong {
  color: #737f94;
  font-weight: 600;
}

.footer-line {
  height: 1px;
  background: var(--line);
}

/* Laptop */

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(470px, .95fr) minmax(480px, 1.05fr);
  }

  .hero-graph {
    height: min(630px, 66vh);
  }

  .graph-image {
    width: 125%;
  }

  .brand-subtitle,
  .brand-divider {
    display: none;
  }
}

/* Tablet */

@media (max-width: 900px) {
  .site-header,
  .hero,
  .site-footer {
    width: calc(100% - 40px);
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    padding-top: 72px;
  }

  .hero-copy {
    padding-left: 0;
  }

  h1 {
    max-width: 760px;
    font-size: clamp(58px, 11vw, 86px);
  }

  .lead {
    max-width: 650px;
  }

  .hero-graph {
    width: 100%;
    height: auto;
    min-height: 520px;
  }

  .graph-image {
    width: min(100%, 760px);
    max-height: none;
    transform: none;
  }

  @keyframes graph-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
  }
}

/* Mobile */

@media (max-width: 600px) {
  .site-header {
    padding-top: 20px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

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

  .status {
    padding: 7px 10px;
    font-size: 10px;
  }

  .hero {
    padding-top: 52px;
    padding-bottom: 64px;
    gap: 32px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 9px;
    letter-spacing: .15em;
  }

  h1 {
    font-size: clamp(49px, 15.4vw, 72px);
    line-height: .96;
    letter-spacing: -.058em;
  }

  .lead {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.55;
  }

  .concepts {
    margin-top: 30px;
  }

  .hero-graph {
    min-height: 350px;
  }

  .graph-image {
    width: 112%;
  }

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

  .footer-line {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .graph-image {
    animation: none;
  }
}
