:root {
  --bg: #0a0b0d;
  --text: rgba(255, 255, 255, 0.92);
}

html,
body {
  width: 375px;
  height: 600px;
  margin: 0;
  padding: 0;
  background: var(--bg);
  overflow: hidden;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    "Noto Sans", "Liberation Sans", sans-serif;
}

.frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--bg);
}

.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 22px;
}

.title {
  margin-top: 340px; /* ближе к середине, как на вашем скрине */
  font-size: 28px;
  line-height: 1.08;
  font-weight: 700;
  color: var(--text);
  text-align: left;
}

.cta {
  margin-top: auto;
  margin-bottom: 42px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.primary {
  width: 320px;
  height: 53px;
  border-radius: 9999px;
  border: none;
  background: #ffffff;
  color: #0a0b0d;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.secondary {
  width: 320px;
  height: 53px;
  border-radius: 9999px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease;
}

.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.primary:active,
.secondary:active {
  transform: translateY(1px);
}

