:root {
  --bg: #eef1f8;
  --ink: #1b1a3a;
  --ink-soft: #3f3d63;
  --muted: #6d6b88;
  --line: rgba(58, 45, 122, 0.12);
  --paper: #ffffff;
  --red: #e10600;
  --shadow: 0 16px 40px rgba(45, 38, 110, 0.08);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 80% -8%, rgba(77, 111, 212, 0.18), transparent 58%),
    radial-gradient(800px 480px at 12% 108%, rgba(122, 61, 168, 0.16), transparent 55%),
    var(--bg);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

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

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

button {
  font: inherit;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
}

.page {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  margin: 0 auto;
  padding: 36px 14px 118px;
}

.brand {
  text-align: center;
}

.brand__mark {
  width: 148px;
  height: 148px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.brand__name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.brand__tag {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.browser-tip {
  margin: 18px 0 12px;
  padding: 16px 16px 15px;
  border-radius: 18px;
  background: #111318;
  color: #fff;
  text-align: left;
}

.browser-tip__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.browser-tip__title {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(26px, 8vw, 34px);
  letter-spacing: 0.02em;
  line-height: 1;
}

.browser-tip__arrow {
  width: 56px;
  height: 42px;
  color: var(--red);
  flex-shrink: 0;
}

.browser-tip__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.pay-banner {
  margin: 18px 0 18px;
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.pay-banner::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--red);
}

.pay-banner__label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.pay-banner__title {
  margin-top: 4px;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(20px, 5.4vw, 28px);
  letter-spacing: 0.01em;
  color: var(--red);
  line-height: 1.15;
}

.pay-banner__note {
  margin-top: 7px;
  font-size: 14px;
  color: var(--ink-soft);
}

.links {
  display: grid;
  gap: 9px;
}

.link {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 70px;
  padding: 11px 14px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.link:active {
  transform: scale(0.985);
}

.link--primary {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.link--primary .link__hint,
.link--primary .link__go {
  color: rgba(255, 255, 255, 0.58);
}

.link__icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #eceef8;
  flex-shrink: 0;
}

.link--primary .link__icon {
  background: rgba(255, 255, 255, 0.08);
}

.link__icon svg {
  width: 20px;
  height: 20px;
}

.link__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-align: left;
}

.link__label {
  font-weight: 800;
  font-size: 15.5px;
}

.link__hint {
  font-size: 13px;
  color: var(--muted);
}

.link__go {
  margin-left: auto;
  color: var(--muted);
  font-size: 18px;
}

.places {
  display: grid;
  gap: 9px;
  margin-top: 18px;
}

.place {
  display: grid;
  gap: 2px;
  padding: 15px 16px;
  border-radius: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
}

.place__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.place strong {
  font-size: 16px;
}

.place span:last-child {
  font-size: 14px;
  color: var(--ink-soft);
}

.foot {
  margin-top: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 10px 14px calc(10px + var(--safe-b));
  background: linear-gradient(180deg, transparent, var(--bg) 30%);
}

.dock__btn {
  width: min(440px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(225, 6, 0, 0.28);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  transform: translateX(-50%) translateY(10px);
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 20;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 860px) {
  .page {
    padding: 56px 0 48px;
  }

  .dock {
    display: none;
  }
}

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

  .link,
  .toast {
    transition: none;
  }
}
