:root {
  --bg: #2b1e16;
  --bg-card: #3a2a22;
  --ink: #f6ede4;
  --muted: #d4c0ae;
  --line: #5a4638;
  --accent: #d9b48f;
  --accent-hover: #e6c7a8;
  --accent-2: #c4a07a;
  --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(420px 240px at 8% 12%, rgba(92, 64, 48, 0.7) 0%, transparent 70%),
    radial-gradient(520px 280px at 100% 88%, rgba(92, 64, 48, 0.55) 0%, transparent 68%),
    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);
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.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);
}

.title-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  color: var(--accent);
}

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

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  width: 100%;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
}

.benefits svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

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

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

.info-grid h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

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

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

.info-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

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

.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: 999px;
  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: #2b1e16;
  box-shadow: 0 10px 22px rgba(217, 180, 143, 0.28);
}

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

.deco {
  display: grid;
  grid-template-columns: 1fr 120px;
  align-items: end;
  gap: 10px;
  width: 100%;
  margin-top: 16px;
}

.hand {
  margin: 0;
  font-family: Caveat, cursive;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--accent);
  text-align: left;
}

.cup {
  position: relative;
  margin: 0;
}

.deco img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cup figcaption {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  margin: 0;
  font-family: Caveat, cursive;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 600;
  color: #2b1e16;
  text-align: center;
}

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

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

  .deco img {
    width: 100%;
    height: 160px;
  }

  .cup figcaption {
    font-size: 16px;
  }
}
