:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #28151e;
  background: #f7c7d7;
}

* { box-sizing: border-box; }
body { margin: 0; padding: clamp(0px, 3vw, 48px); }
.home { padding: 0; }

.cover {
  display: grid;
  grid-template-columns: minmax(0, min(58%, 40rem)) 1fr;
  align-content: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  padding: clamp(1.25rem, 5vw, 5rem);
  padding-inline: max(clamp(1.25rem, 5vw, 5rem), calc((100% - 80rem) / 2));
  background: linear-gradient(145deg, #ae466b, #d47696 46%, #f9b9cf);
}

.cover > :not(.backdrop) { grid-column: 1; }
.backdrop { position: absolute; inset: 0; z-index: -2; }
.backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.cover::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #78113eb5, #8b154da3 38%, #b3236130 68%, transparent 90%);
}

.brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(.85rem, 2.8vw, 2rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  color: #fff;
}
.mark {
  grid-row: span 2;
  display: flex;
  align-items: center;
  padding-right: clamp(.75rem, 2vw, 1.65rem);
  border-right: 1px solid #fffc;
}
.mark img {
  display: block;
  width: clamp(5rem, 10.5vw, 9.5rem);
  height: auto;
  filter: brightness(0) invert(1);
}
h1 { margin: 0; font: 400 clamp(2.15rem, 5vw, 4.65rem)/1 Georgia, serif; }
.brand h1 { align-self: end; }
.tagline {
  grid-column: 2;
  margin: .75rem 0 0;
  font-size: .9rem;
  line-height: 1.55;
  letter-spacing: .04em;
  text-shadow: 0 1px 5px #4a102b70;
}
.tagline span { margin-left: .2em; font-size: 1.05rem; line-height: 0; }

.stores { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.stores a, .help a, .return {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: inherit;
  background: #fff0f6ed;
  text-decoration: none;
  border: 1px solid #fff5;
  font-weight: 650;
  font-size: .9rem;
}
.stores a:hover, .help a:hover, .return:hover { background: #fff9fc; }
a:focus-visible { outline: 3px solid #730d3e; outline-offset: 3px; }
.stores a {
  min-height: 6rem;
  padding: .65rem .26rem;
  flex-direction: column;
  gap: .45rem;
  border-radius: 1.25rem;
  line-height: 1.2;
}
.icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  border-radius: .72rem;
}
.icon img { display: block; width: 100%; height: 100%; object-fit: contain; }
.icon.vk { background: #0077ff; }
.icon.instagram { background: linear-gradient(25deg, #ffae46 10%, #ea0074 54%, #5325d7 95%); }
.icon.telegram { background: #009ddd; border-radius: 50%; }
.vk img, .instagram img, .telegram img { filter: brightness(0) invert(1); transform: scale(.64); }
.vk img { transform: scale(.86); }

.divider { display: flex; align-items: center; gap: 1rem; width: min(64%, 27rem); margin: clamp(1.5rem, 3vw, 2.5rem) auto .9rem; color: #ffe6f0; }
.divider::before, .divider::after { content: ""; height: 1px; background: currentColor; flex: 1; opacity: .7; }
.help { display: flex; width: fit-content; max-width: 100%; margin-inline: auto; background: #fff0f6ed; border-radius: 2rem; padding: .25rem; }
.help a { min-height: 3rem; padding: .55rem 1rem; gap: .65rem; color: #780d37; border-radius: 2rem; border: 0; background: transparent; }
.help a + a { border-left: 1px solid #af416b4f; }
.help-icon { flex: 0 0 auto; display: inline-block; width: 1.05rem; height: 1rem; position: relative; }
.gift { border: 1.5px solid currentColor; border-radius: 2px; margin-top: .2rem; background: linear-gradient(90deg, transparent 44%, currentColor 44%, currentColor 56%, transparent 56%); }
.gift::before { content: ""; position: absolute; left: 0; top: .22rem; width: 100%; border-top: 1.5px solid currentColor; }
.gift::after { content: ""; position: absolute; width: .3rem; height: .3rem; top: -.35rem; left: .28rem; border: 1.5px solid currentColor; border-radius: 50% 50% 8% 50%; transform: rotate(45deg); }
.leaf { border: 1.5px solid currentColor; border-radius: 8% 70% 8% 70%; }
.leaf::after { content: ""; position: absolute; left: .08rem; top: .4rem; width: .78rem; border-top: 1.5px solid currentColor; transform: rotate(44deg); }

.inner {
  max-width: 44rem;
  margin: clamp(1rem, 5vw, 4rem) auto;
  padding: clamp(1.25rem, 5vw, 3.5rem);
  border: 1px solid #fff;
  border-radius: 1.75rem;
  background: #fff3f7;
  line-height: 1.6;
}
.inner h1 { font-size: clamp(2.1rem, 6vw, 3.75rem); color: #780d37; }
.inner li + li { margin-top: .7rem; }
.inner ol { padding-left: 1.45rem; }
.return { width: fit-content; min-height: 3rem; margin-top: 1.5rem; padding: .5rem 1rem; border: 1px solid #e6a3bd; border-radius: 2rem; color: #780d37; }

@media (min-width: 1000px) {
  .stores { grid-template-columns: repeat(20, minmax(0, 1fr)); gap: .75rem 0; }
  .stores a { grid-column: span 4; margin-inline: .35rem; }
  .stores a:nth-child(-n + 4) { grid-column: span 5; }
}

@media (max-width: 700px) {
  body { padding: 0; }
  .cover { display: block; padding: 1.35rem clamp(1rem, 6vw, 2rem) 2rem; }
  .brand { grid-template-rows: auto auto; margin-bottom: clamp(4rem, 12svh, 7rem); align-items: center; }
  .brand h1 { align-self: center; }
  .mark { grid-row: auto; }
  .mark img { width: 4.7rem; }
  .tagline { grid-column: 1 / -1; margin-block: 1rem 0; max-width: 14rem; }
  .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .stores a { min-height: 4.4rem; padding: .45rem .25rem; border-radius: 1rem; }
  .stores a:last-child { grid-column: 1 / -1; flex-direction: row; min-height: 3.4rem; }
  .icon { width: 2rem; height: 2rem; border-radius: .55rem; }
  .divider { display: none; }
  .help { display: grid; width: 100%; background: transparent; padding: 0; margin-top: .75rem; gap: .5rem; }
  .help a, .help a + a { background: #fff0f6ed; border: 1px solid #fff5; }
  .backdrop img { object-position: 60% top; }
  .cover::before { background: linear-gradient(#76133fb0, #76133fa6 8.5rem, #a6205a40 30%, transparent 59%); }
  .inner { margin-inline: .75rem; }
}
