:root {
  color-scheme: dark;
  --bg: #071017;
  --bg-deep: #03080d;
  --surface: #101b25;
  --surface-2: #152633;
  --surface-3: #203b48;
  --text: #f5fbff;
  --muted: #aebbc4;
  --line: rgba(210, 239, 244, 0.14);
  --cyan: #22c8d1;
  --cyan-deep: #0b7c87;
  --mint: #c9f7df;
  --yellow: #f3b23d;
  --coral: #f06373;
  --blue: #4d7dff;
  --shadow: 0 34px 100px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  background:
    radial-gradient(circle at 76% 10%, rgba(34, 200, 209, 0.24), rgba(34, 200, 209, 0) 34vw),
    radial-gradient(circle at 8% 42%, rgba(77, 125, 255, 0.13), rgba(77, 125, 255, 0) 28vw),
    linear-gradient(180deg, #0b2c34 0, var(--bg) 620px, var(--bg-deep) 100%),
    var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  isolation: isolate;
  line-height: 1.55;
}

body::before {
  position: fixed;
  inset: -18% -12%;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23d8fbff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.64'%3E%3Ccircle cx='44' cy='44' r='20'/%3E%3Cpath d='M30 58 58 30'/%3E%3Cpath d='M112 24h42a18 18 0 0 1 0 36h-42a18 18 0 0 1 0-36Z'/%3E%3Cpath d='M133 24v36'/%3E%3Cpath d='M222 24h28v48h-28zM218 24h36M222 72h28'/%3E%3Cpath d='M36 124h18v-18h18v18h18v18H72v18H54v-18H36z'/%3E%3Cpath d='M128 112c18 18 18 42 0 60-18-18-18-42 0-60Z'/%3E%3Cpath d='M218 118h36a18 18 0 0 1 0 36h-36a18 18 0 0 1 0-36Z'/%3E%3Cpath d='M236 118v36'/%3E%3Cpath d='M36 224h44v28H36z'/%3E%3Cpath d='M112 216h42v50h-42zM112 232h42'/%3E%3Cpath d='M214 232h50M224 218l-20 28 24 8'/%3E%3Ccircle cx='98' cy='96' r='4'/%3E%3Ccircle cx='108' cy='106' r='4'/%3E%3Ccircle cx='88' cy='108' r='4'/%3E%3Cpath d='M246 204v42M230 220h32M238 212h16'/%3E%3C/g%3E%3C/svg%3E");
  background-position: left 80px top 80px;
  background-size: 300px 300px;
  content: "";
  opacity: 0.045;
  pointer-events: none;
  transform: rotate(-45deg);
  transform-origin: center;
  -webkit-mask-image: linear-gradient(90deg, #000 0 21%, transparent 39% 61%, #000 79% 100%);
  mask-image: linear-gradient(90deg, #000 0 21%, transparent 39% 61%, #000 79% 100%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 92% 22%, rgba(34, 200, 209, 0.08), transparent 22%),
    radial-gradient(circle at 3% 72%, rgba(201, 247, 223, 0.06), transparent 24%);
  content: "";
  pointer-events: none;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

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

.site-header {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 32px;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto -80px;
  border: 1px solid rgba(224, 251, 255, 0.16);
  border-radius: 20px;
  padding: 0 14px 0 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.025)),
    rgba(8, 27, 34, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 18px 58px rgba(0, 0, 0, 0.18);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  transition: background 0.2s ease, border-color 0.2s ease, backdrop-filter 0.2s ease, box-shadow 0.2s ease;
}

.site-header::before {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.16), transparent 28% 72%, rgba(34, 200, 209, 0.12)),
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.18), transparent 34%);
  content: "";
  opacity: 0.62;
  pointer-events: none;
}

.site-header.is-scrolled {
  border-color: rgba(224, 251, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
    rgba(7, 19, 26, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 18px 54px rgba(0, 0, 0, 0.3);
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  border-radius: 999px;
  padding: 9px 13px;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.nav a,
.site-footer a {
  transition: color 0.2s ease;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--text);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0 0 16px;
  border: 1px solid rgba(34, 200, 209, 0.24);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(34, 200, 209, 0.09);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
  padding-bottom: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #eaf8fb 54%, #b9f5f2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-size: clamp(76px, 13vw, 156px);
  line-height: 0.88;
  letter-spacing: 0;
  text-shadow: 0 18px 70px rgba(34, 200, 209, 0.24);
}

h1::after {
  position: absolute;
  right: 0.05em;
  bottom: 0;
  left: 0.04em;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(34, 200, 209, 0), rgba(34, 200, 209, 0.72), rgba(201, 247, 223, 0.4), rgba(34, 200, 209, 0));
  content: "";
  box-shadow: 0 0 26px rgba(34, 200, 209, 0.28);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 600px;
  margin-bottom: 22px;
  color: #d9e5eb;
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.35;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.hero__badges span {
  border: 1px solid rgba(210, 239, 244, 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #dce9ee;
  font-size: 13px;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 0 20px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button--primary {
  background: linear-gradient(135deg, #eafffb, var(--cyan) 52%, #16a3b3);
  color: #06242a;
  box-shadow: 0 16px 42px rgba(31, 196, 205, 0.25);
}

.button--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.phone {
  position: relative;
  width: min(34vw, 372px);
  aspect-ratio: 390 / 844;
  margin: 0;
  overflow: visible;
  border: 1px solid rgba(232, 251, 255, 0.36);
  border-radius: 46px;
  padding: 10px;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(151, 183, 191, 0.24) 22%, rgba(12, 24, 31, 0.96) 48%, rgba(5, 10, 15, 0.98)),
    #081018;
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 80px rgba(34, 200, 209, 0.24);
}

.phone::before {
  position: absolute;
  inset: -28px;
  z-index: -1;
  border-radius: 64px;
  background:
    radial-gradient(circle at 50% 42%, rgba(34, 200, 209, 0.48), rgba(34, 200, 209, 0.16) 32%, transparent 66%),
    radial-gradient(circle at 35% 72%, rgba(77, 125, 255, 0.24), transparent 48%);
  content: "";
  filter: blur(18px);
  opacity: 0.58;
}

.phone::after {
  position: absolute;
  inset: 10px;
  border-radius: 36px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 18% 58%, rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, transparent 0 78%, rgba(34, 200, 209, 0.12));
  content: "";
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 7px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.phone__screen {
  display: block;
  height: 100%;
  width: 100%;
  overflow: hidden;
  border-radius: 36px;
  clip-path: inset(0 round 36px);
  object-fit: cover;
  object-position: top;
  background: #081018;
}

.phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  z-index: 3;
  width: 34%;
  height: 28px;
  border-radius: 999px;
  background: #05090e;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.08),
    0 1px 10px rgba(0, 0, 0, 0.35);
  transform: translateX(-50%);
}

.phone__button {
  position: absolute;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(226, 246, 250, 0.6), rgba(55, 85, 94, 0.5));
}

.phone__button--left {
  left: -4px;
  top: 22%;
  height: 72px;
}

.phone__button--right {
  right: -4px;
  top: 29%;
  height: 92px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 110px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.24);
}

.store-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 110px;
}

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

.store-tile {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  min-height: 168px;
  align-items: center;
  border: 1px solid rgba(210, 239, 244, 0.13);
  border-radius: 26px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    rgba(16, 27, 37, 0.82);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-tile:hover {
  border-color: rgba(34, 200, 209, 0.36);
  background:
    linear-gradient(180deg, rgba(34, 200, 209, 0.08), rgba(255, 255, 255, 0)),
    rgba(16, 27, 37, 0.9);
  transform: translateY(-4px);
}

.store-tile--disabled {
  cursor: default;
  filter: grayscale(1);
  opacity: 0.52;
}

.store-tile--disabled:hover {
  border-color: rgba(210, 239, 244, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    rgba(16, 27, 37, 0.82);
  transform: none;
}

.store-tile__logo {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  object-fit: contain;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.store-tile strong,
.store-tile small {
  display: block;
}

.store-tile strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1.1;
}

.store-tile small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.stats div {
  min-height: 136px;
  padding: 28px;
  background: rgba(16, 27, 37, 0.9);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  margin-bottom: 10px;
  font-size: 26px;
}

.stats span {
  color: var(--muted);
}

.section,
.download {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 116px;
}

.section__intro {
  max-width: 760px;
  margin-bottom: 36px;
}

.section__intro p:not(.eyebrow) {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0)),
    var(--surface);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(34, 200, 209, 0.35);
  background:
    linear-gradient(180deg, rgba(34, 200, 209, 0.08), rgba(255, 255, 255, 0)),
    var(--surface);
  transform: translateY(-4px);
}

.feature-card p,
.download p {
  color: var(--muted);
}

.feature-card strong {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  color: #dce9ee;
  font-size: 13px;
}

.feature-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 34px;
  place-items: center;
  border-radius: 16px;
  background: rgba(31, 196, 205, 0.14);
  color: var(--cyan);
  font-weight: 800;
  font-size: 27px;
}

.feature-card__icon--warm {
  background: rgba(243, 178, 61, 0.14);
  color: var(--yellow);
}

.feature-card__icon--green {
  background: rgba(223, 248, 234, 0.12);
  color: var(--mint);
}

.feature-card__icon--coral {
  background: rgba(240, 99, 115, 0.14);
  color: var(--coral);
}

.story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.66fr);
  gap: clamp(56px, 8vw, 140px);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 116px;
}

.story::before {
  position: absolute;
  right: -18%;
  top: 6%;
  z-index: -1;
  width: min(760px, 64vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 200, 209, 0.2), rgba(34, 200, 209, 0.08) 32%, transparent 66%),
    linear-gradient(145deg, rgba(77, 125, 255, 0.09), rgba(240, 99, 115, 0.08));
  content: "";
  filter: blur(10px);
}

.hero-carousel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.66fr);
  gap: clamp(56px, 8vw, 140px);
  width: min(1180px, calc(100% - 32px));
  min-height: 820px;
  margin: 0 auto 92px;
  padding-top: 112px;
}

.hero-carousel::before {
  position: absolute;
  right: -18%;
  top: 6%;
  z-index: -1;
  width: min(760px, 64vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 200, 209, 0.2), rgba(34, 200, 209, 0.08) 32%, transparent 66%),
    linear-gradient(145deg, rgba(77, 125, 255, 0.09), rgba(240, 99, 115, 0.08));
  content: "";
  filter: blur(10px);
}

.carousel-copy {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 620px;
  padding-top: 72px;
}

.carousel-slide {
  grid-area: 1 / 1;
  max-width: 680px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.carousel-slide h2 {
  max-width: 660px;
  margin-bottom: 20px;
  color: #f7fcff;
  text-shadow: 0 18px 62px rgba(34, 200, 209, 0.18);
}

.carousel-slide p:not(.eyebrow):not(.hero__lead) {
  max-width: 570px;
  color: var(--muted);
  font-size: 21px;
}

.carousel-slide .eyebrow {
  min-height: auto;
  margin-bottom: 20px;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 42px;
  background: transparent;
  color: #79eaf0;
  position: relative;
}

.carousel-slide .eyebrow::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  content: "";
  box-shadow: 0 0 18px rgba(34, 200, 209, 0.38);
  transform: translateY(-50%);
}

.carousel-controls {
  display: flex;
  align-self: end;
  gap: 10px;
  margin-top: 34px;
}

.carousel-dot {
  width: 42px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(210, 239, 244, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.carousel-dot.is-active {
  width: 72px;
  background: var(--cyan);
  box-shadow: 0 0 24px rgba(34, 200, 209, 0.3);
}

.carousel-phone {
  position: relative;
  display: grid;
  min-height: calc(100svh - 120px);
  align-items: center;
  justify-items: end;
  isolation: isolate;
}

.carousel-phone::before {
  position: absolute;
  right: -112px;
  top: 50%;
  z-index: 0;
  width: min(620px, 52vw);
  aspect-ratio: 1.35;
  border: 1px solid rgba(34, 200, 209, 0.34);
  border-right-color: transparent;
  border-bottom-color: rgba(201, 247, 223, 0.12);
  border-left-color: rgba(77, 125, 255, 0.12);
  border-radius: 50%;
  content: "";
  filter: drop-shadow(0 0 24px rgba(34, 200, 209, 0.2));
  transform: translateY(-50%) rotate(-18deg);
}

.carousel-phone::after {
  position: absolute;
  right: -136px;
  top: 50%;
  z-index: 0;
  width: min(760px, 62vw);
  aspect-ratio: 1.45;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top-color: rgba(34, 200, 209, 0.28);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 54%, rgba(34, 200, 209, 0.58) 0 3px, transparent 4px),
    radial-gradient(circle at 35% 18%, rgba(201, 247, 223, 0.5) 0 2px, transparent 4px),
    radial-gradient(circle at 74% 12%, rgba(34, 200, 209, 0.42) 0 2px, transparent 4px),
    radial-gradient(circle at 86% 64%, rgba(255, 255, 255, 0.28) 0 2px, transparent 4px);
  content: "";
  filter: blur(0.2px);
  transform: translateY(-48%) rotate(17deg);
}

.phone--carousel {
  z-index: 2;
  width: min(31vw, 332px);
  transform: translateX(42px) rotate(1.5deg);
}

.phone--carousel .phone__screen {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 36px;
  clip-path: inset(0 round 36px);
  opacity: 0;
  transition: opacity 0.46s ease, transform 0.46s ease;
  transform: scale(1.015);
}

.phone--carousel .carousel-screen.is-active {
  opacity: 1;
  transform: scale(1);
}

.download {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 470px);
  gap: 32px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(120deg, rgba(19, 37, 48, 0.98), rgba(10, 89, 96, 0.78)),
    var(--surface);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.28);
}

.contacts {
  position: relative;
  display: grid;
  gap: 18px;
  align-items: center;
  justify-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 420px;
  margin: 0 auto;
  padding: 74px 0 58px;
  margin-bottom: 0;
  overflow: hidden;
  text-align: center;
}

.contacts h2 {
  margin-bottom: 10px;
  color: #b7c7cf;
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
}

.contacts p {
  margin-bottom: 0;
  color: var(--text);
  font-size: clamp(44px, 7vw, 92px);
  font-weight: 900;
  line-height: 0.98;
  text-shadow: 0 24px 80px rgba(34, 200, 209, 0.2);
}

.contacts::before {
  position: absolute;
  inset: 24px 12%;
  z-index: -1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(34, 200, 209, 0.18), rgba(34, 200, 209, 0.07) 34%, transparent 66%),
    radial-gradient(circle at 28% 34%, rgba(201, 247, 223, 0.12), transparent 28%),
    radial-gradient(circle at 72% 66%, rgba(77, 125, 255, 0.09), transparent 30%);
  content: "";
  filter: blur(2px);
}

.contacts::after {
  position: absolute;
  inset: 78px 18%;
  z-index: -1;
  border: 1px solid rgba(34, 200, 209, 0.24);
  border-right-color: transparent;
  border-left-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background:
    radial-gradient(circle at 18% 48%, rgba(34, 200, 209, 0.5) 0 2px, transparent 4px),
    radial-gradient(circle at 76% 24%, rgba(201, 247, 223, 0.38) 0 2px, transparent 4px),
    radial-gradient(circle at 84% 70%, rgba(255, 255, 255, 0.28) 0 2px, transparent 4px);
  content: "";
  transform: rotate(-8deg);
}

.contact-panel {
  display: grid;
  gap: 0;
  justify-items: center;
}

.contact-mail {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text);
  margin-top: 10px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  text-shadow: 0 18px 70px rgba(34, 200, 209, 0.26);
}

.legal-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 130px 0 80px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 34px;
}

.legal-grid a {
  border: 1px solid rgba(210, 239, 244, 0.14);
  border-radius: 16px;
  padding: 16px;
  background: rgba(16, 27, 37, 0.76);
  color: #dce9ee;
  font-weight: 800;
}

.legal-grid a.is-active {
  border-color: rgba(34, 200, 209, 0.38);
  background: rgba(34, 200, 209, 0.09);
  color: var(--text);
}

.legal-doc {
  margin-bottom: 18px;
  border: 1px solid rgba(210, 239, 244, 0.12);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(16, 27, 37, 0.74);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.legal-doc.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.legal-doc h2 {
  margin-bottom: 20px;
  font-size: clamp(28px, 3vw, 40px);
}

.legal-doc p {
  color: var(--muted);
}

.markdown-body h1 {
  margin-bottom: 18px;
  padding-bottom: 0;
  background: none;
  color: var(--text);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.05;
  text-shadow: none;
}

.markdown-body h1::after {
  content: none;
}

.markdown-body h2 {
  margin-top: 34px;
  margin-bottom: 14px;
}

.markdown-body h3 {
  margin-top: 24px;
}

.markdown-body ul {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--muted);
}

.markdown-body a {
  color: var(--cyan);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 38px;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 10px;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-carousel,
  .download {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-carousel {
    min-height: auto;
    padding-top: 108px;
  }

  .carousel-phone {
    order: -1;
    min-height: auto;
    justify-items: center;
  }

  .carousel-phone::before {
    right: auto;
    width: min(520px, 92vw);
  }

  .carousel-phone::after {
    right: auto;
    width: min(620px, 106vw);
  }

  .phone--carousel {
    width: min(74vw, 330px);
    transform: rotate(1deg);
  }

  .carousel-copy {
    min-height: 520px;
    padding-top: 20px;
  }

}

@media (max-width: 720px) {
  body {
    background:
      linear-gradient(180deg, rgba(16, 75, 83, 0.82) 0, rgba(8, 16, 22, 0) 520px),
      var(--bg);
  }

  .site-header {
    width: min(100% - 24px, 1180px);
    min-height: 66px;
    margin-bottom: -78px;
    padding-inline: 12px;
  }

  .stats,
  .section,
  .story,
  .hero-carousel,
  .store-section,
  .download,
  .contacts,
  .site-footer {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: clamp(62px, 18vw, 88px);
  }

  .hero__lead {
    font-size: 19px;
  }

  .hero__actions {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .stats {
    grid-template-columns: 1fr;
    margin-bottom: 74px;
  }

  .section,
  .story,
  .hero-carousel,
  .store-section,
  .download {
    margin-bottom: 82px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .feature-card__icon {
    margin-bottom: 24px;
  }

  .phone--carousel {
    width: min(78vw, 280px);
    transform: none;
  }

  .carousel-phone::before {
    width: 104vw;
    opacity: 0.7;
  }

  .carousel-phone::after {
    width: 118vw;
    opacity: 0.6;
  }

  .carousel-copy {
    min-height: 560px;
  }

  .carousel-slide p:not(.eyebrow):not(.hero__lead) {
    font-size: 17px;
  }

  .carousel-controls {
    margin-top: 22px;
  }

  .carousel-dot {
    width: 32px;
  }

  .carousel-dot.is-active {
    width: 54px;
  }

  .site-footer {
    flex-direction: column;
  }

  .store-tile {
    grid-template-columns: 56px 1fr;
    min-height: 132px;
    padding: 20px;
  }

  .store-tile__logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }

  .store-tile strong {
    font-size: 23px;
  }

  .contacts {
    grid-template-columns: 1fr;
  }

  .legal-page {
    width: calc(100% - 24px);
    padding-top: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
