:root {
  --purple: #714bec;
  --purple-dark: #4b2fb2;
  --orange: #fbb019;
  --text: #232120;
  --muted: #55545a;
  --line: #edeef0;
  --white: #fff;
  --container: 1170px;
  --rock: url("https://www.figma.com/api/mcp/asset/ef644b94-dcf7-44d5-94fd-0f508ef18f7c.png");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Fira Sans Condensed", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.62;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container {
  width: min(var(--container), calc(100% - 30px));
  margin-inline: auto;
}

/* Header */
.contact-bar {
  min-height: 59px;
  background: var(--purple);
  border-bottom: 1px solid var(--line);
  color: #fff;
}
.contact-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
}
.contact-item {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px 0 0;
  white-space: nowrap;
  color: #fff;
}
.contact-item img {
  width: 18px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 18px;
  filter: brightness(0) invert(1);
}
.main-header {
  position: relative;
  z-index: 30;
  background: #fff;
}
.main-header-inner {
  height: 100px;
  display: flex;
  align-items: center;
}
.brand {
  min-width: 380px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
}
.brand-mark {
  width: 128px;
  height: 64px;
  padding-left: 5px;
  display: flex;
  align-items: center;
}
.brand-mark img {
  width: 108px;
  height: 64px;
  object-fit: contain;
}
.brand-name {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 40px;
  text-transform: uppercase;
  white-space: nowrap;
}
.desktop-nav {
  margin-left: auto;
  height: 86px;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  position: relative;
}
.nav-link,
.nav-more {
  height: 86px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  border: 0;
  background: transparent;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  cursor: pointer;
  position: relative;
}
.nav-link::after,
.nav-more::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  height: 2px;
  background: transparent;
}
.nav-link:hover,
.nav-link.is-active,
.nav-more:hover { color: var(--orange); }
.nav-link.is-active::after { background: var(--orange); }
.nav-more { gap: 6px; }
.more-menu {
  position: absolute;
  right: 0;
  top: 75px;
  min-width: 170px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.more-menu a { display: block; padding: 8px 10px; color: var(--muted); }
.more-menu a:hover { color: var(--orange); }
.menu-toggle,
.mobile-nav { display: none; }

/* Shared */
.section { background: #fff; }
.section h2,
.download h2,
.about h2 {
  margin: 0;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
  text-align: center;
}
.rock-bg {
  position: relative;
  background-color: #151515;
  background-image:
    radial-gradient(circle at 18% 24%, rgba(255,255,255,.055), transparent 24%),
    radial-gradient(circle at 79% 62%, rgba(255,255,255,.035), transparent 28%),
    linear-gradient(rgba(0,0,0,.14), rgba(0,0,0,.14)),
    var(--rock);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
}

/* Hero */
.hero {
  min-height: 551px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.11);
}
.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 551px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 118px;
}
.hero h1 {
  max-width: 975px;
  margin: 0;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 78px;
  line-height: .8585;
  letter-spacing: 0;
  font-weight: 700;
  color: #fff;
}
.hero p {
  margin: 106px 0 0;
  color: #fff;
  font-size: 16px;
  line-height: 25.92px;
  max-width: 900px;
}

/* Capabilities */
.capabilities { min-height: 837px; padding: 90px 0 50px; }
.capabilities h2 { margin-bottom: 66px; }
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  min-height: 560px;
}
.tech-column {
  height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 74px;
}
.tech-card {
  min-height: 157px;
  text-align: center;
  padding-inline: 15px;
}
.tech-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.tech-card h3 {
  margin: 0 0 20px;
  font-family: "Fira Sans Condensed", Arial, sans-serif;
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
}
.tech-card p {
  max-width: 350px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 25.92px;
}
.phone-visual {
  display: flex;
  justify-content: center;
  padding-inline: 15px;
}
.phone-visual img {
  width: 306px;
  height: 510px;
  object-fit: cover;
}

/* Download */
.download { min-height: 420px; display: flex; align-items: center; }
.download-inner { text-align: center; padding: 76px 15px 69px; }
.download h2 { color: #fff; margin-bottom: 19px; }
.download p { max-width: 780px; margin: 0 auto 27px; color: #fff; }
.store-links { display: flex; justify-content: center; gap: 20px; align-items: center; }
.store-badge {
  width: 188px;
  height: 62px;
  position: relative;
  display: block;
  border-radius: 6px;
  overflow: hidden;
  background: #050505;
}
.store-badge > img { width: 100%; height: 100%; object-fit: contain; }
.badge-fallback {
  display: none;
  width: 100%; height: 100%; color: #fff;
  align-items: center; justify-content: center; gap: 8px;
  font-family: Arial,sans-serif; line-height: 1;
}
.badge-fallback b { font-size: 25px; }
.badge-fallback span { display: flex; flex-direction: column; font-size: 20px; font-weight: 600; }
.badge-fallback small { font-size: 8px; font-weight: 400; margin-bottom: 4px; }
.store-badge.is-fallback > img { display: none; }
.store-badge.is-fallback .badge-fallback { display: flex; }

/* Products */
.products { min-height: 1109px; padding: 96px 0 68px; }
.products h2 { margin-bottom: 24px; }
.products-copy { text-align: center; }
.products-copy p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.62;
}
.products-copy strong { font-weight: 700; }
.products-visual {
  margin: 34px auto 0;
  width: min(772px, 100%);
}
.products-visual img {
  width: 772px;
  max-height: 487px;
  object-fit: contain;
  margin: 0 auto;
}

/* Stats */
.stats { min-height: 246px; display: flex; align-items: center; }
.stats-grid {
  min-height: 246px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  text-align: center;
}
.stat { padding: 30px 15px; display: flex; flex-direction: column; align-items: center; }
.stat strong {
  color: var(--orange);
  font-family: "Fira Sans Condensed", Arial, sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1;
  margin-bottom: 20px;
}
.stat span { font-weight: 700; color: #fff; font-size: 16px; }

/* About */
.about { min-height: 731px; padding: 76px 0 75px; }
.about h2 { font-size: 54px; line-height: 1.24; margin-bottom: 28px; }
.about-content { font-size: 16px; line-height: 26px; }
.about-content p { margin: 0 0 10px; }
.about-content strong { font-weight: 700; }
.about-content a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.about-note { margin-top: 30px; }

/* Footer */
.site-footer { color: #fff; border-top: 5px solid var(--orange); }
.footer-main { min-height: 203px; background: var(--purple); }
.footer-grid {
  min-height: 198px;
  display: grid;
  grid-template-columns: 390px 390px 1fr;
  align-items: center;
}
.footer-brand {
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 30px;
  line-height: 40px;
  font-weight: 700;
  padding-left: 20px;
}
.footer-contacts { grid-column: 2; display: flex; flex-direction: column; gap: 8px; font-size: 16px; }
.footer-contacts a,
.footer-contacts div { display: flex; align-items: center; gap: 12px; }
.footer-contacts span { width: 18px; color: #fff; }
.footer-sub { min-height: 76px; background: var(--purple-dark); display: flex; align-items: center; color: var(--orange); }

.to-top {
  position: fixed;
  z-index: 50;
  right: 32px;
  bottom: 32px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: var(--purple);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: .2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 1199px) {
  .container { width: min(970px, calc(100% - 30px)); }
  .brand { min-width: 330px; }
  .brand-mark { width: 110px; }
  .desktop-nav .nav-link, .desktop-nav .nav-more { padding-inline: 13px; }
  .hero h1 { font-size: 66px; line-height: .9; }
  .products { min-height: 1050px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contacts { grid-column: 2; }
}

@media (max-width: 899px) {
  .container { width: min(738px, calc(100% - 30px)); }
  .contact-inner { justify-content: flex-start; }
  .contact-item { font-size: 13px; padding-right: 13px; gap: 6px; }
  .contact-item img { width: 14px; height: 14px; flex-basis: 14px; }
  .main-header-inner { height: 80px; }
  .brand { min-width: 0; height: 80px; flex: 1; gap: 12px; }
  .brand-mark { width: 66px; height: 50px; padding: 0; }
  .brand-mark img { width: 58px; height: 42px; object-fit: contain; }
  .brand-name { font-size: 26px; line-height: 34px; }
  .desktop-nav { display: none; }
  .menu-toggle {
    display: flex;
    width: 44px; height: 44px;
    border: 0; background: transparent;
    flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 3px; background: var(--orange); border-radius: 2px; }
  .mobile-nav {
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 8px 15px 16px;
  }
  .mobile-nav.is-open { display: block; }
  .mobile-nav a {
    display: block;
    max-width: 738px;
    margin-inline: auto;
    padding: 11px 0;
    text-transform: uppercase;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
  }
  .hero, .hero-inner { min-height: 645px; }
  .hero-inner { padding-top: 130px; }
  .hero h1 { max-width: 720px; font-size: 60px; line-height: .92; }
  .hero p { margin-top: 95px; max-width: 650px; }

  .capabilities { min-height: 1330px; padding-top: 105px; padding-bottom: 80px; }
  .capabilities h2 { margin-bottom: 74px; }
  .capabilities-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 0;
  }
  .tech-column { display: contents; }
  .tech-card { width: 100%; min-height: 155px; margin-bottom: 45px; }
  .tech-column-left .tech-card:nth-child(1) { order: 1; }
  .tech-column-left .tech-card:nth-child(2) { order: 2; }
  .phone-visual { order: 3; margin: 10px 0 45px; }
  .tech-column-right .tech-card:nth-child(1) { order: 4; }
  .tech-column-right .tech-card:nth-child(2) { order: 5; }
  .tech-card p { max-width: 470px; }

  .download { min-height: 515px; }
  .download-inner { padding-block: 92px; }
  .products { min-height: auto; padding: 95px 0 85px; }
  .products-copy p { font-size: 14px; line-height: 1.5; margin-bottom: 11px; }
  .products-visual { margin-top: 36px; width: min(700px, 100%); }
  .stats { min-height: 575px; }
  .stats-grid { min-height: 575px; grid-template-columns: 1fr; padding: 40px 0; }
  .stat { padding: 17px 15px; }
  .stat strong { margin-bottom: 11px; }
  .about { min-height: auto; padding: 95px 0 90px; }
  .about h2 { font-size: 42px; }
  .about-content { font-size: 14px; line-height: 22px; }
  .footer-grid { min-height: 190px; grid-template-columns: 1fr 1.35fr; }
  .footer-brand { font-size: 26px; }
  .footer-contacts { font-size: 14px; }
}

@media (max-width: 520px) {
  body { font-size: 14px; }
  .container { width: calc(100% - 30px); }
  .contact-bar { min-height: 108px; }
  .contact-inner {
    min-height: 108px;
    padding: 9px 0;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 3px;
  }
  .contact-item { min-height: 26px; width: 100%; font-size: 13px; padding: 0; white-space: normal; }
  .main-header-inner { height: 80px; }
  .brand { height: 80px; gap: 8px; }
  .brand-mark { width: 56px; }
  .brand-mark img { width: 48px; height: 40px; }
  .brand-name { font-size: 24px; line-height: 32px; }
  .menu-toggle { width: 40px; }

  .section h2, .download h2, .about h2 { font-size: 36px; }
  .hero, .hero-inner { min-height: 530px; }
  .hero-inner { padding-top: 92px; }
  .hero h1 {
    max-width: 355px;
    font-size: 46px;
    line-height: .9;
  }
  .hero p {
    margin-top: 82px;
    max-width: 340px;
    font-size: 12px;
    line-height: 19px;
  }

  .capabilities { min-height: 1410px; padding: 105px 0 80px; }
  .capabilities h2 { margin-bottom: 70px; }
  .tech-card { min-height: 150px; margin-bottom: 43px; }
  .tech-icon { width: 28px; height: 28px; }
  .tech-card h3 { font-size: 20px; line-height: 26px; margin-bottom: 12px; }
  .tech-card p { max-width: 330px; font-size: 12px; line-height: 18px; }
  .phone-visual { margin-top: -2px; margin-bottom: 50px; }
  .phone-visual img { width: 260px; height: auto; }

  .download { min-height: 495px; }
  .download-inner { padding: 90px 0; }
  .download h2 { max-width: 260px; margin-inline: auto; }
  .download p { max-width: 340px; font-size: 12px; line-height: 18px; margin-bottom: 32px; }
  .store-links { flex-direction: column; gap: 10px; }
  .store-badge { width: 170px; height: 55px; }

  .products { padding: 92px 0 75px; }
  .products h2 { margin-bottom: 32px; }
  .products-copy p { font-size: 12px; line-height: 17px; text-align: left; margin-bottom: 11px; }
  .products-visual { margin-top: 28px; }

  .stats { min-height: 550px; }
  .stats-grid { min-height: 550px; padding: 46px 0; }
  .stat strong { font-size: 36px; }
  .stat span { font-size: 13px; }

  .about { padding: 85px 0 78px; }
  .about h2 { margin-bottom: 28px; }
  .about-content { font-size: 12px; line-height: 17px; }
  .about-content p { margin-bottom: 8px; }
  .about-note { margin-top: 25px; }

  .site-footer { border-top-width: 4px; }
  .footer-main { min-height: 236px; }
  .footer-grid {
    min-height: 232px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
  }
  .footer-brand { padding: 0; font-size: 24px; line-height: 31px; }
  .footer-contacts { font-size: 12px; gap: 6px; }
  .footer-sub { min-height: 66px; font-size: 11px; }
  .to-top { right: 14px; bottom: 14px; width: 36px; height: 36px; }
}


/* Legal pages */
.legal-body { background: #fafafa; }
.legal-main { background: #fafafa; }
.legal-title-band {
  background: var(--purple);
  color: #fff;
  border-bottom: 5px solid var(--orange);
}
.legal-title-inner {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 36px;
  padding-bottom: 36px;
}
.legal-eyebrow {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.legal-title-band h1 {
  max-width: 980px;
  margin: 0;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 54px;
  line-height: 1.05;
  font-weight: 700;
}
.legal-title-band p {
  margin: 22px 0 0;
  font-size: 15px;
  line-height: 1.5;
  opacity: .9;
}
.legal-content-section { padding: 76px 0 90px; }
.legal-document {
  width: min(940px, 100%);
  margin: 0 auto;
  padding: 58px 64px 68px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 44px rgba(35,33,32,.07);
  font-size: 16px;
  line-height: 1.68;
  overflow-wrap: anywhere;
}
.legal-document p {
  margin: 0 0 18px;
  text-align: justify;
}
.legal-document p:last-child { margin-bottom: 0; }
.legal-document strong { font-weight: 700; }
.legal-document em { font-style: italic; }
.legal-document a {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-document .legal-center { text-align: center; }
.legal-document .legal-right { text-align: right; }
.legal-document .legal-section-title {
  margin-top: 38px;
  margin-bottom: 18px;
  font-family: "Roboto Condensed", Arial, sans-serif;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  text-align: left;
}
.legal-document .legal-section-title:first-child { margin-top: 0; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 30px;
}
.legal-table td {
  width: 50%;
  vertical-align: top;
}
.legal-table td:last-child { text-align: right; }
.legal-doc-note {
  margin: 0 0 34px !important;
  padding: 14px 16px;
  background: #fafafa;
  border-left: 4px solid var(--orange);
  color: var(--muted);
  text-align: left !important;
}
.approval-name { font-weight: 700; }
.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
  align-self: center;
  font-size: 14px;
  line-height: 1.35;
}
.footer-legal a { color: #fff; opacity: .92; }
.footer-legal a:hover { color: var(--orange); opacity: 1; }

@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: .8fr 1fr 1.2fr; }
  .footer-contacts { grid-column: 2; }
  .footer-legal { grid-column: 3; }
}

@media (max-width: 899px) {
  .legal-title-inner { min-height: 250px; }
  .legal-title-band h1 { font-size: 46px; }
  .legal-content-section { padding: 58px 0 72px; }
  .legal-document { padding: 44px 42px 54px; font-size: 15px; }
  .legal-document .legal-section-title { font-size: 22px; }
  .footer-grid {
    grid-template-columns: .8fr 1.1fr 1.3fr;
    gap: 22px;
  }
  .footer-legal { font-size: 12px; }
}

@media (max-width: 680px) {
  .legal-title-inner { min-height: 230px; }
  .legal-title-band h1 { font-size: 39px; }
  .legal-title-band p { font-size: 13px; }
  .legal-content-section { padding: 34px 0 54px; }
  .legal-document {
    padding: 30px 22px 38px;
    font-size: 14px;
    line-height: 1.62;
  }
  .legal-document p { margin-bottom: 15px; text-align: left; }
  .legal-document .legal-section-title { margin-top: 30px; font-size: 21px; }
  .legal-table td { display: block; width: 100%; }
  .legal-table td:last-child { text-align: left; }
}

@media (max-width: 520px) {
  .legal-title-inner { min-height: 215px; padding-top: 28px; padding-bottom: 28px; }
  .legal-eyebrow { font-size: 12px; }
  .legal-title-band h1 { font-size: 34px; line-height: 1.05; }
  .legal-title-band p { margin-top: 16px; font-size: 11px; }
  .legal-content-section { padding: 24px 0 42px; }
  .legal-document { padding: 24px 18px 32px; font-size: 13px; }
  .footer-main { min-height: 360px; }
  .footer-grid {
    min-height: 356px;
    gap: 21px;
  }
  .footer-legal {
    width: 100%;
    font-size: 12px;
    gap: 6px;
  }
}
