:root {
  color-scheme: dark;
  --canvas: #17191e;
  --ink: #f8f9fc;
  --muted: #e0e2e8;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--ink);
  font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  min-width: 280px;
  min-height: 100svh;
  margin: 0;
  padding: 21px 16px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 29% 42%, #282a30 0%, transparent 42%),
    radial-gradient(ellipse at 75% 57%, #202c3d 0%, transparent 44%),
    radial-gradient(ellipse at 48% 100%, #242933 0%, transparent 50%),
    #111319;
}
h1, h2, p, ul { margin: 0; }

.device {
  position: relative;
  width: min(100%, 480px);
  padding: 7px;
  border: 1px solid #9299a6;
  border-radius: 47px;
  background: linear-gradient(139deg, #cfd5df 0%, #737b87 13%, #333843 33%, #181c24 54%, #535b68 69%, #b3becf 92%, #383e49);
  box-shadow:
    inset 0 0 0 1px #242934,
    inset 0 0 0 3px #e0e9fb7a,
    0 1px 3px #deebf45c,
    0 27px 80px #070a12cb,
    0 0 67px #c4d2ec1e;
}
.device::before, .device::after {
  content: "";
  position: absolute;
  left: -4px;
  width: 4px;
  height: 39px;
  top: 118px;
  border: 1px solid #7f8796;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, #c3cad4, #3f4653);
}
.device::after { height: 47px; top: 170px; }
.screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(832px, calc(100svh - 58px));
  padding: 40px 24px 20px;
  display: flex;
  flex-direction: column;
  border: 1px solid #12151d;
  border-radius: 39px;
  background: #242832 url("assets/app-wallpaper.webp") center / cover no-repeat;
  box-shadow: inset 0 0 0 1px #edf4ff24;
}
.screen::before, .screen::after, .screen-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.screen::before {
  content: "";
  background:
    linear-gradient(180deg, #141720a6, transparent 26%, #171b241a 61%, #131720a5),
    radial-gradient(ellipse at 14% 42%, #14182465, transparent 68%);
}
.screen::after { content: ""; box-shadow: inset 0 0 27px 7px #111722a0; }
.screen-light {
  inset: 6% -16%;
  background: radial-gradient(ellipse at 68% 28%, #d4e4ff27 0%, transparent 45%), radial-gradient(ellipse at 67% 72%, #a8c9fa27 0%, transparent 48%);
  animation: ambient 9s ease-in-out infinite alternate;
}
.camera {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 48px;
  height: 10px;
  translate: -50%;
  border: 1px solid #cbd7ed50;
  border-radius: 20px;
  background: #0b0e16;
  box-shadow: 0 2px 6px #0007;
}
.camera::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin: 1.5px 5px 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 36%, #adc7f0, #304461 35%, #152033 61%);
}

.masthead {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 35px;
  gap: .45rem;
  padding-bottom: 11px;
  border-bottom: 1px solid #e7ebf43b;
}
.brand {
  display: flex;
  align-items: center;
  gap: .43rem;
  color: #fafbff;
  font-size: .79rem;
  font-weight: 850;
  letter-spacing: .12em;
  white-space: nowrap;
}
.brand > span:not(.brand-symbol) { color: #cbd0dc; }
.brand-symbol {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid #e2ebff65;
  border-radius: 8px;
  background: linear-gradient(141deg, #bbc9df55, #8195bb33);
  box-shadow: inset 0 1px #ffffff36;
}
.brand-symbol::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #eff5ff;
  clip-path: polygon(36% 0,64% 0,64% 36%,100% 36%,100% 64%,64% 64%,64% 100%,36% 100%,36% 64%,0 64%,0 36%,36% 36%);
  rotate: 45deg;
}
.status {
  display: flex;
  align-items: center;
  gap: .43rem;
  padding: .38rem .63rem;
  border: 1px solid #cfddf94e;
  border-radius: 999px;
  background: #303946a5;
  color: #f0f5ff;
  font-size: .775rem;
  font-weight: 720;
  line-height: 1.12;
  white-space: nowrap;
}
.status span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d8e6ff;
  box-shadow: 0 0 0 3px #d8e6ff29, 0 0 10px #c1d9ff65;
}

.console { position: relative; margin-block: auto; padding-block: 34px 32px; }
.intro {
  --tile-tint: #3b465b80;
  --tile-highlight: #d3ddf442;
  margin-bottom: 12px;
  padding: clamp(13px, 3.8vw, 19px);
  animation: enter 620ms cubic-bezier(.22,.74,.28,1) both;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: .67rem;
  color: #e1e9fa;
  font-size: .77rem;
  font-weight: 760;
  letter-spacing: .105em;
  line-height: 1.24;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 19px; height: 1px; border-radius: 99px; background: #d6e3ff; }
h1 {
  font-size: clamp(2rem, 10.1vw, 3.34rem);
  font-weight: 800;
  letter-spacing: -.044em;
  line-height: .98;
  text-shadow: 0 2px 12px #151b2a46;
}
.headline-apps { display: inline-block; padding-bottom: .065em; white-space: nowrap; color: #f3f5fa; }
.intro-copy {
  max-width: 31ch;
  margin-top: .68rem;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.38;
}

.tile {
  position: relative;
  min-width: 0;
  border: 1px solid var(--tile-border, #e5edf965);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 0% 3%, var(--tile-highlight, #eef5ff41), transparent 67%),
    linear-gradient(145deg, var(--tile-tint, #52627a4d), #222b3c58 86%);
  box-shadow:
    inset 0 1px #ffffff34,
    inset 0 -12px 26px #191e2d38,
    0 8px 17px #0b101e45;
  backdrop-filter: blur(6px) saturate(1.18);
}
.tile::before {
  content: "";
  position: absolute;
  inset: -1px 17% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f7faffae, transparent);
  pointer-events: none;
}

.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
}
.role {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 93px;
  padding: 12px;
  animation: enter 620ms 65ms cubic-bezier(.22,.74,.28,1) both;
}
.role + .role { animation-delay: 105ms; }
.role img {
  flex: none;
  width: 45px;
  height: 45px;
  border-radius: 11px;
  box-shadow: 0 5px 12px #1c243c68;
}
.role strong, .role small { display: block; }
.role strong { color: #f9fbff; font-size: 1.095rem; font-weight: 790; line-height: 1.13; }
.role small { margin-top: 3px; color: #e4e9f4; font-size: .78rem; line-height: 1.2; }

.info-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.47fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.pay {
  --tile-border: #e7eefb65;
  --tile-highlight: #d2e4ff52;
  --tile-tint: #6571875c;
  overflow: hidden;
  isolation: isolate;
  min-height: 94px;
  padding: 12px;
  display: grid;
  align-content: center;
  gap: 4px;
  animation: enter 620ms 120ms cubic-bezier(.22,.74,.28,1) both;
}
.pay::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 149px;
  height: 149px;
  right: -52px;
  top: -31px;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 11px, #e6f0ff2f 12px 13px),
    radial-gradient(circle, #c6daff40, transparent 67%);
  pointer-events: none;
}
.pay p { color: #f4f6fb; font-size: .86rem; font-weight: 680; line-height: 1.23; }
.pay strong {
  color: #fff;
  font-size: clamp(1.61rem, 6.85vw, 2.4rem);
  font-weight: 840;
  line-height: 1.06;
  letter-spacing: -.052em;
  white-space: nowrap;
}
.pay strong span { font-size: .55em; letter-spacing: 0; }
.pay strong .currency { font-size: .77em; }

.conditions { min-width: 0; }
.conditions-trigger {
  height: 100%;
  min-height: 94px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 12px;
  color: #f4f7ff;
  font-size: .91rem;
  font-weight: 730;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.conditions-trigger::-webkit-details-marker { display: none; }
.conditions-trigger:focus-visible { outline: 2px solid #f2f6ff; outline-offset: 3px; }
.conditions[open]:not(.is-closing) .conditions-trigger { background-color: #c5d5f133; border-color: #dae7ffa6; }
.notes-icon, .item-icon { position: relative; display: block; flex: none; }
.notes-icon {
  width: 24px;
  height: 24px;
  border: 1px solid #dce7faaa;
  border-radius: 8px;
  background:
    linear-gradient(#f1f5ff, #f1f5ff) center 40% / 10px 1.5px no-repeat,
    linear-gradient(#f1f5ff, #f1f5ff) center 61% / 10px 1.5px no-repeat,
    #c7d7f424;
}
.open-icon {
  position: absolute;
  top: 11px;
  right: 11px;
  width: 19px;
  height: 19px;
  border: 1px solid #e2ebfc70;
  border-radius: 50%;
  background: #e8efff25;
  transition: rotate 180ms ease;
}
.open-icon::before, .open-icon::after {
  content: "";
  position: absolute;
  inset: 8px 4px auto;
  height: 1px;
  border-radius: 2px;
  background: #f6f9ff;
}
.open-icon::after { rotate: 90deg; }
.conditions[open]:not(.is-closing) .open-icon { rotate: 45deg; }
.conditions-panel {
  position: absolute;
  z-index: 4;
  inset: auto 0 calc(100% + 10px);
  max-height: min(56svh, 15rem);
  overflow: auto;
  padding: 13px;
  border: 1px solid #deeafb9f;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 1% 0%, #c8d3e555, transparent 55%),
    radial-gradient(ellipse at 102% 100%, #88a7d539, transparent 63%),
    linear-gradient(145deg, #465164bf, #29344ac4);
  box-shadow:
    inset 0 1px #fff5,
    0 18px 34px #090e1989,
    0 0 28px #d0e0fc1a;
  backdrop-filter: blur(12px) saturate(1.22);
  transform-origin: 0 0;
}
.conditions-panel h2 { margin: 0 0 6px 2px; color: #fafcff; font-size: 1.045rem; font-weight: 780; }
.conditions-panel ul { padding: 0; list-style: none; }
.conditions-panel li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 37px;
  padding: 7px 2px;
  color: #f0f4fc;
  font-size: .9rem;
  line-height: 1.24;
}
.conditions-panel li + li { border-top: 1px solid #e6eefb34; }
.item-icon {
  width: 23px;
  height: 23px;
  border: 1px solid #e7eefb44;
  border-radius: 7px;
  background: #e3ebfa20;
  color: #e4ecfc;
}
.item-icon::before, .item-icon::after { content: ""; position: absolute; }
.item-task::before { inset: 6px 5px auto; height: 1px; background: currentColor; box-shadow: 0 4px currentColor, 0 8px currentColor; }
.item-pay::before { inset: 5px; border: 1px solid currentColor; border-radius: 50%; }
.item-pay::after { left: 49%; top: 7px; width: 4px; height: 4px; border: solid currentColor; border-width: 0 0 1px 1px; }
.item-shop::before { inset: 5px; background: linear-gradient(135deg, transparent 45%, currentColor 46% 54%, transparent 55%); }
.item-shop::after { inset: 5px; background: radial-gradient(circle at 23% 23%, currentColor 0 1.2px, transparent 1.5px), radial-gradient(circle at 77% 77%, currentColor 0 1.2px, transparent 1.5px); }

.cta {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 61px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #d7eaff94;
  border-radius: 19px;
  background:
    radial-gradient(ellipse at 22% 0%, #9aceff52, transparent 69%),
    linear-gradient(112deg, #246ebd, #205d9e 57%, #174e8e);
  color: #fff;
  box-shadow: inset 0 1px #fff, 0 8px 24px #3082db5d;
  cursor: pointer;
  font: inherit;
  font-size: 1.01rem;
  font-weight: 810;
  line-height: 1.2;
  touch-action: manipulation;
  transition: translate 150ms ease, box-shadow 150ms ease;
}
.cta::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -48%;
  width: 34%;
  background: linear-gradient(90deg, transparent, #dcefff73, transparent);
  transform: skewX(-23deg);
  animation: glint 8s 700ms ease-in-out infinite;
  pointer-events: none;
}
.cta:focus-visible { outline: 2px solid #eff6ff; outline-offset: 3px; }
.cta:active, .conditions-trigger:active { translate: 0 1px; }
@media (hover: hover) {
  .cta:hover { translate: 0 -2px; box-shadow: inset 0 1px #fff, 0 10px 30px #3e94f081; }
  .conditions-trigger:hover { border-color: #d7e6fcb0; }
}
.telegram-icon {
  flex: 0 0 25px;
  width: 25px;
  height: 25px;
  position: relative;
  border-radius: 50%;
  background: #f5faff;
}
.telegram-icon::after {
  content: "";
  position: absolute;
  inset: 5px 5px 5px 4px;
  background: #195696;
  clip-path: polygon(0 41%, 100% 0, 81% 100%, 56% 74%, 42% 88%, 44% 64%, 82% 19%, 32% 57%);
}
.message { margin-top: .5rem; color: #f0f3fa; font-size: .84rem; line-height: 1.22; text-align: center; }
.message:empty { margin: 0; }

.handle {
  flex: none;
  width: 34%;
  height: 4px;
  margin-inline: auto;
  border-radius: 99px;
  background: #f3f5fcbf;
  box-shadow: 0 1px 6px #080d19ce;
}
@keyframes ambient {
  from { transform: translateX(-6%) scale(1.02); opacity: .43; }
  to { transform: translateX(7%) scale(1.09); opacity: .91; }
}
@keyframes enter { from { transform: translateY(9px); } to { transform: translateY(0); } }
@keyframes glint {
  0%, 11% { transform: translateX(0) skewX(-23deg); }
  23%, 100% { transform: translateX(505%) skewX(-23deg); }
}

@media (max-width: 520px) {
  body { min-height: 100svh; padding: 0; }
  .device { width: 100%; padding: 5px; border-radius: 37px; }
  .device::before, .device::after { display: none; }
  .screen {
    min-height: calc(100svh - 12px);
    padding: max(35px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
    border-radius: 31px;
  }
  .console { padding-block: 27px; }
  .intro { margin-bottom: 10px; }
  .role { min-height: 81px; padding: 9px; gap: 9px; }
  .role img { width: 38px; height: 38px; border-radius: 9px; }
  .pay, .conditions-trigger { min-height: 82px; padding: 9px; }
  .cta { min-height: 55px; margin-top: 12px; }
}
@media (max-width: 365px) {
  .screen { padding-inline: 12px; }
  .brand { letter-spacing: .08em; }
  .roles, .info-row { gap: 7px; }
  .info-row { margin-top: 7px; }
  .tile { border-radius: 17px; }
  .role img { width: 35px; height: 35px; }
  .role { gap: 7px; }
  .pay p, .role small { font-size: .77rem; }
}
@media (max-height: 675px) {
  .console { padding-block: 20px; }
  .intro { margin-bottom: 8px; padding-block: 11px; }
  .eyebrow { margin-bottom: .5rem; }
  .role, .pay, .conditions-trigger { min-height: 67px; }
  .cta { min-height: 50px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
