:root {
  --bg: #161410;
  --bg-card: #242018;
  --ink: #f3eee4;
  --muted: #b8b0a0;
  --line: #3c362c;
  --accent: #c9a46c;
  --accent-hover: #d8b67e;
  --accent-2: #8a9aa0;
  --radius: 20px;
  --shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  --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(138, 154, 160, 0.14) 0%, transparent 62%),
    radial-gradient(640px 320px at 88% -80px, rgba(201, 164, 108, 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;
  padding: calc(20px + var(--safe-top)) 20px calc(24px + var(--safe-bottom));
}

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

.hero-kicker {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 7.4vw, 36px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

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

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 16px;
}

.chips span {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(201, 164, 108, 0.12);
  border: 1px solid rgba(201, 164, 108, 0.28);
}

.perks {
  width: 100%;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  text-align: left;
}

.perks li {
  position: relative;
  padding: 12px 12px 12px 14px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--muted);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.perks li::before {
  content: none;
}

.perks strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

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

.btn {
  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: 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, border-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: var(--accent);
  color: #161410;
  box-shadow: 0 10px 22px rgba(201, 164, 108, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
}

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

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