:root {
  --bg: #12081c;
  --bg-card: rgba(36, 22, 54, 0.82);
  --ink: #f4eefc;
  --muted: #c8b8dc;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #9b6dff;
  --accent-hover: #b48cff;
  --accent-2: #c084fc;
  --radius: 18px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  background: var(--bg);
}

body {
  min-height: 100dvh;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(520px 280px at 12% -40px, rgba(155, 109, 255, 0.22) 0%, transparent 62%),
    radial-gradient(640px 320px at 88% 110%, rgba(192, 132, 252, 0.16) 0%, transparent 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.view {
  width: 100%;
  min-height: 100dvh;
  max-width: 100%;
}

.view-main {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: calc(18px + var(--safe-top)) 20px calc(22px + var(--safe-bottom));
  overflow: hidden;
}

.view-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 8, 28, 0.58) 0%, rgba(18, 8, 28, 0.76) 100%);
}

.bg-figure {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 390px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  align-items: center;
}

.facts {
  width: 100%;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.facts li:last-child {
  margin-bottom: 0;
}

.hand {
  margin: 12px 0 0;
  font-family: Caveat, cursive;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 600;
  color: #fff;
}

.hand-top {
  margin: 0 0 10px;
  text-align: right;
  font-size: 18px;
}

.hero-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.hero-kicker::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 8px auto 0;
  background: var(--accent);
}

.hero-title {
  margin: 10px 0 0;
  font-size: clamp(34px, 10vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.hero-title::after {
  content: "";
  display: block;
  width: 92px;
  height: 7px;
  margin: 8px auto 0;
  border-radius: 99px;
  background: var(--accent);
  transform: rotate(-2deg);
}

.hero-subtitle {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}

.benefits {
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.benefits .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
}

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

.benefits span {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: var(--muted);
}

.benefits strong {
  display: block;
  margin-bottom: 1px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}

.info-grid article {
  padding: 14px 12px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.info-grid h2 {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
}

.info-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-grid li {
  position: relative;
  padding: 0 0 8px 18px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--muted);
}

.info-grid li:last-child {
  padding-bottom: 0;
}

.info-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 11px;
  height: 11px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 11px 11px no-repeat;
}

.hero-actions {
  display: flex;
  width: 100%;
  margin-top: 18px;
}

.btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn::before {
  content: "";
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: url("assets/telegram.svg") center / 22px 22px no-repeat;
  mask: url("assets/telegram.svg") center / 22px 22px no-repeat;
}

.btn-primary {
  background: #7c3aed;
  color: #fff;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.36);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: #8b5cf6;
}

.note {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-align: center;
}

.footer-line {
  margin: 16px 0 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}

@media (max-width: 320px) {
  .view-main {
    padding-left: 14px;
    padding-right: 14px;
  }

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