@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Overpass";
  src: url("assets/fonts/overpass-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --peach: #f9c4a7;
  --coral: #f4a6a0;
  --lilac: #bdc5e6;
  --sky: #95c7ed;
  --blue: #3958a1;
  --ink: #020a0a;
  --muted: #526170;
  --page: #f7f9ff;
  --surface: rgba(255, 255, 255, 0.94);
  --line: rgba(57, 88, 161, 0.13);
  --shadow: 0 18px 48px rgba(41, 61, 111, 0.13);
  --shadow-touch: 0 8px 22px rgba(41, 61, 111, 0.12);
  --radius-xl: 34px;
  --radius-lg: 25px;
  --radius-md: 21px;
  --focus: 0 0 0 4px rgba(149, 199, 237, 0.55), 0 0 0 7px rgba(57, 88, 161, 0.92);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--page);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(149, 199, 237, 0.34), transparent 31rem),
    radial-gradient(circle at 92% 18%, rgba(249, 196, 167, 0.32), transparent 27rem),
    linear-gradient(145deg, #f7f9ff 0%, #fffafa 52%, #f5f8ff 100%);
  font-family: "Overpass", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  content: "";
  filter: blur(80px);
  opacity: 0.26;
  pointer-events: none;
}

body::before {
  top: 32%;
  left: -9rem;
  background: var(--coral);
}

body::after {
  right: -10rem;
  bottom: 2%;
  background: var(--sky);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: 100%;
  padding: 0;
}

.hub {
  width: 100%;
  max-width: 700px;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: max(22px, env(safe-area-inset-top)) 18px 23px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.7)),
    radial-gradient(circle at 92% 0%, rgba(149, 199, 237, 0.8), transparent 42%),
    radial-gradient(circle at 0% 85%, rgba(249, 196, 167, 0.72), transparent 48%);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -20px;
  right: -36px;
  width: 178px;
  height: 178px;
  border: 1px solid rgba(57, 88, 161, 0.13);
  border-radius: 50%;
  content: "";
}

.brand-logo {
  width: 146px;
  height: auto;
  margin: 0 auto 18px;
  mix-blend-mode: multiply;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 350px;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 8.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

h1 span {
  color: var(--blue);
}

.intro {
  max-width: 310px;
  margin: 13px 0 0;
  color: #34404a;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.45;
  text-wrap: pretty;
}

.motion-card {
  position: relative;
  min-height: 126px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 29px;
  background:
    radial-gradient(circle at 76% 8%, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(125deg, var(--peach) 0%, var(--coral) 22%, var(--lilac) 51%, var(--sky) 72%, var(--blue) 118%);
  box-shadow: 0 16px 36px rgba(57, 88, 161, 0.18);
}

.motion-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.32), transparent 43%);
  content: "";
}

.motion-card > img {
  position: absolute;
  right: -7px;
  bottom: -23px;
  width: 130px;
  height: auto;
  opacity: 0.88;
  filter: saturate(1.15);
}

.motion-card p {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 22px;
  margin: 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.motion-card p span {
  display: block;
}

.motion-orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.57);
  border-radius: 50%;
}

.motion-orbit--one {
  top: -71px;
  right: 5px;
  width: 193px;
  height: 193px;
}

.motion-orbit--two {
  right: 61px;
  bottom: -89px;
  width: 166px;
  height: 166px;
}

.motion-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 3px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(2, 10, 10, 0.13);
}

.motion-dot--peach {
  top: 15px;
  right: 109px;
  background: var(--coral);
}

.motion-dot--blue {
  right: 153px;
  bottom: 18px;
  background: var(--blue);
}

.link-section,
.social-section,
.soon-section {
  padding: 27px 18px 0;
}

.section-title {
  margin: 0;
  color: var(--ink);
  font-size: 1.16rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: right;
}

.primary-links {
  display: grid;
  gap: 11px;
  margin-top: 12px;
}

.action-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 24px;
  gap: 13px;
  align-items: center;
  min-height: 86px;
  padding: 15px 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--ink);
  box-shadow: var(--shadow-touch);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.action-card::after {
  position: absolute;
  top: -46px;
  right: -44px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(57, 88, 161, 0.12);
  border-radius: 50%;
  content: "";
}

.action-card--catalog {
  border-color: rgba(57, 88, 161, 0.2);
  background: linear-gradient(112deg, rgba(149, 199, 237, 0.38), rgba(255, 255, 255, 0.97) 61%);
}

.action-card--partners {
  border-color: rgba(244, 166, 160, 0.26);
  background: linear-gradient(112deg, rgba(249, 196, 167, 0.5), rgba(255, 255, 255, 0.97) 61%);
}

.action-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 17px;
  background: var(--white);
  color: var(--blue);
  box-shadow: 0 8px 20px rgba(57, 88, 161, 0.1);
}

.action-icon svg,
.soon-icon svg,
.social-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.action-copy {
  display: block;
  min-width: 0;
}

.action-copy strong,
.action-copy small {
  display: block;
}

.action-copy strong {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.action-copy small {
  margin-top: 3px;
  color: #4d5c6b;
  font-size: 0.75rem;
  line-height: 1.3;
}

.action-arrow {
  position: relative;
  z-index: 2;
  color: var(--blue);
  font-size: 1.35rem;
  font-weight: 700;
}

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

.social-link {
  display: grid;
  min-width: 0;
  min-height: 110px;
  padding: 13px 11px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(41, 61, 111, 0.09);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  place-items: center;
}

.social-link > span:last-child {
  color: #718097;
  font-size: 0.95rem;
}

.social-icon {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 15px;
  color: var(--blue);
}

.social-link--telegram .social-icon {
  background: rgba(149, 199, 237, 0.32);
}

.social-link--telegram .social-icon svg {
  fill: currentColor;
  stroke: none;
}

.social-link--instagram .social-icon {
  background: linear-gradient(135deg, rgba(249, 196, 167, 0.62), rgba(244, 166, 160, 0.57), rgba(189, 197, 230, 0.54));
}

.social-icon .filled {
  fill: currentColor;
  stroke: none;
}

.social-link--vk .social-icon {
  background: rgba(189, 197, 230, 0.5);
}

.social-icon--letters {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.soon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.soon-card {
  position: relative;
  min-height: 154px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(57, 88, 161, 0.13);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.soon-card::after {
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 105px;
  height: 105px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  content: "";
}

.soon-card--training {
  background: linear-gradient(145deg, rgba(249, 196, 167, 0.6), rgba(244, 166, 160, 0.26));
}

.soon-card--video {
  background: linear-gradient(145deg, rgba(149, 199, 237, 0.56), rgba(189, 197, 230, 0.29));
}

.soon-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 17px;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
}

.soon-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.soon-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 13px;
  padding: 5px 8px;
  border: 1px solid rgba(57, 88, 161, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer {
  display: grid;
  justify-items: center;
  padding: 40px 18px calc(32px + env(safe-area-inset-bottom));
  text-align: center;
}

.footer img {
  width: 54px;
  height: auto;
  margin-bottom: 5px;
}

.footer p {
  margin: 0;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 700;
}

.footer small {
  margin-top: 8px;
  color: #7b8793;
  font-size: 0.65rem;
}

.action-card:hover,
.social-link:hover {
  border-color: rgba(57, 88, 161, 0.3);
  box-shadow: 0 15px 34px rgba(41, 61, 111, 0.15);
  transform: translateY(-2px);
}

.action-card:active,
.social-link:active {
  box-shadow: 0 5px 15px rgba(41, 61, 111, 0.12);
  transform: translateY(1px) scale(0.988);
}

.action-card:focus-visible,
.social-link:focus-visible,
.skip-link:focus-visible {
  outline: 0;
  box-shadow: var(--focus);
}

@media (min-width: 431px) {
  .page-shell {
    padding: 22px;
  }

  .hub {
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.63);
    box-shadow: var(--shadow);
  }

  .hero {
    padding: 26px 28px 28px;
  }

  .brand-logo {
    width: 160px;
  }

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

  .motion-card {
    min-height: 148px;
  }

  .motion-card > img {
    width: 154px;
    height: 154px;
  }

  .motion-card p {
    top: 31px;
    left: 28px;
    font-size: 1.2rem;
  }

  .link-section,
  .social-section,
  .soon-section {
    padding-right: 28px;
    padding-left: 28px;
  }

  .footer {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (min-width: 760px) {
  .page-shell {
    padding: 38px 24px;
  }

  .hub {
    max-width: 880px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 0.9fr);
    column-gap: 30px;
    padding: 34px;
  }

  .brand-logo {
    grid-column: 1 / -1;
    width: 172px;
    margin: 0 0 29px;
  }

  .hero-copy {
    align-self: center;
  }

  h1 {
    font-size: 2.7rem;
  }

  .intro {
    font-size: 1rem;
  }

  .motion-card {
    min-height: 218px;
    margin-top: 0;
  }

  .motion-card p {
    top: 29px;
  }

  .motion-card > img {
    width: 181px;
    height: 181px;
  }

  .link-section,
  .social-section,
  .soon-section {
    padding-top: 32px;
    padding-right: 34px;
    padding-left: 34px;
  }

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

  .action-card {
    min-height: 96px;
  }

  .social-grid {
    gap: 12px;
  }

  .social-link {
    grid-template-columns: 50px minmax(0, 1fr) 20px;
    min-height: 74px;
    padding: 10px 14px;
    font-size: 0.9rem;
    text-align: left;
  }

  .social-icon {
    width: 46px;
    height: 46px;
  }

  .soon-card {
    min-height: 170px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .action-card,
  .social-link,
  .soon-card,
  .motion-card {
    border: 2px solid CanvasText;
  }
}
