@font-face {
  font-family: Onest;
  src: url(assets/onest-400.woff2);
}
@font-face {
  font-family: Onest;
  src: url(assets/onest-700.woff2);
  font-weight: 700;
}
@font-face {
  font-family: Oswald;
  src: url(assets/oswald-700.woff2);
  font-weight: 700;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
}
body {
  --paper: #f7f4ed;
  --ink: #221f18;
  --accent: #edd039;
  --pad: clamp(22px, 4.2vw, 96px);
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font:
    16px/1.5 Onest,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 5px;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
h1,
h2,
p,
figure,
dl,
dd {
  margin: 0;
}
header,
footer {
  display: flex;
  align-items: center;
  gap: 3vw;
  padding: 16px var(--pad);
}
header {
  height: 68px;
  border-bottom: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  position: relative;
  z-index: 3;
}
header nav {
  display: flex;
  gap: clamp(15px, 3vw, 60px);
  margin: auto;
}
header nav a,
.order-link {
  font-size: 0.875rem;
  font-weight: 700;
}
.brand {
  display: inline-flex;
  align-items: center;
  font:
    700 33px/0.85 Onest,
    sans-serif;
  letter-spacing: -0.105em;
  transform: skew(-9deg);
  padding-right: 4px;
}
.brand:hover {
  text-decoration: none;
}
.brand i {
  font-style: normal;
  position: relative;
}
.brand i:after {
  content: "";
  position: absolute;
  right: -5px;
  top: -2px;
  width: 5px;
  height: 5px;
  background: currentColor;
  border-radius: 50%;
}
.order-link {
  border: 1px solid currentColor;
  border-radius: 99px;
  padding: 6px 15px;
}
.hero {
  position: relative;
  height: clamp(600px, calc(100svh - 68px), 900px);
  isolation: isolate;
  overflow: hidden;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 700;
  font-size: 0.81rem;
  display: block;
  margin-bottom: 16px;
}
.hero h1,
.detail h2 {
  font-size: clamp(66px, 8.5vw, 160px);
  letter-spacing: -0.077em;
  line-height: 0.95;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 13px 22px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 700;
  transition: transform 0.2s;
}
.button:hover {
  transform: translateY(-3px);
  text-decoration: none;
}
.price small {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.skip {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 10;
  background: white;
  color: black;
  padding: 8px;
}
.skip:focus {
  top: 8px;
}
.poster-foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 6%;
  display: flex;
  align-items: center;
  gap: 4vw;
}
.poster-foot p {
  max-width: 32ch;
  margin-right: auto;
}
.poster {
  --paper: #d4fc3e;
  --ink: #1f2116;
  --accent: #ffe052;
}
.poster .hero {
  background-image: url(assets/grain.png);
}
.poster-type {
  position: absolute;
  top: 8%;
  left: var(--pad);
  z-index: 1;
}
.poster-type h1 {
  font:
    700 clamp(64px, min(9.8vw, 23svh), 215px)/1.17 Oswald,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: 0;
}
.poster-type h1 em {
  font: inherit;
  letter-spacing: inherit;
}
.poster-art {
  position: absolute;
  width: 37%;
  height: 52%;
  right: 5.5%;
  top: 25%;
  transform: rotate(10deg);
}
.poster-tile {
  background: #222219;
  padding: 12%;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  display: grid;
  place-items: center;
  box-shadow: 5px 8px 0 #73852d;
}
.poster-tile img {
  width: 100%;
  filter: drop-shadow(5px 12px 4px #0005);
}
.sticker {
  position: absolute;
  right: -4%;
  bottom: -15%;
  width: clamp(95px, 10vw, 165px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff853e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font: 700 clamp(27px, 3vw, 52px)/1 Onest;
  letter-spacing: -0.09em;
  transform: rotate(-21deg);
  border: 1.5px solid #272817;
}
.sticker small {
  font: 400 1rem/1.3 Onest;
  letter-spacing: 0;
}
.poster-foot {
  border-top: 2px solid currentColor;
  padding-top: 18px;
}
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8%;
  padding: clamp(60px, 8vw, 145px) var(--pad);
  border-top: 1px solid color-mix(in srgb, currentColor 30%, transparent);
}
.detail h2 {
  font-size: clamp(45px, 6vw, 112px);
}
.price {
  font: 700 clamp(45px, 5vw, 90px)/1 Onest;
  letter-spacing: -0.07em;
}
.spec dl {
  margin: 24px 0;
}
.spec dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 0;
  border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
}
dd {
  text-align: right;
  font-weight: 700;
}
.steps ol {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  position: relative;
  padding-left: 44px;
  margin-bottom: 23px;
  counter-increment: steps;
}
.steps li:before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 1px;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  font-size: 0.87rem;
}
.steps b {
  font-size: 1.16rem;
}
.steps p {
  margin-top: 4px;
  max-width: 44ch;
}
.delivery {
  background: color-mix(in srgb, var(--paper) 93%, var(--ink));
}
footer {
  min-height: 90px;
  flex-wrap: wrap;
  font-size: 0.93rem;
}
footer .brand {
  margin-right: auto;
}
@media (max-width: 690px) {
  header {
    height: 58px;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  header nav a:not(:first-child) {
    display: none;
  }
  header nav {
    margin-left: auto;
    margin-right: 0;
  }
  .brand {
    font-size: 29px;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: space-between;
    gap: clamp(28px, 5vw, 36px);
    height: auto;
    min-height: min(calc(100svh - 58px), 830px);
    padding: clamp(24px, 4svh, 36px) var(--pad) 24px;
  }
  .kicker {
    font-size: 0.77rem;
    margin-bottom: 12px;
  }
  .poster-type,
  .poster-foot {
    position: static;
  }
  .poster-type h1 {
    font-size: clamp(48px, min(15vw, 11svh), 95px);
  }
  .poster-art {
    position: relative;
    inset: auto;
    justify-self: center;
    width: min(62vw, 34svh, 310px);
    height: auto;
    aspect-ratio: 1.24;
    transform: none;
  }
  .poster-foot {
    gap: 12px;
    flex-wrap: wrap;
  }
  .poster-foot p {
    max-width: 35ch;
  }
  .poster-tile {
    height: 83%;
    transform: rotate(9deg);
    border-radius: 15px;
  }
  .sticker {
    right: -2%;
    bottom: 0;
    width: 79px;
    transform: rotate(-11deg);
  }
  .sticker small {
    font-size: 0.8rem;
  }
  .detail {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .spec dl div {
    font-size: 0.94rem;
  }
  footer {
    gap: 16px;
    justify-content: space-between;
  }
  footer .brand {
    margin: 0;
  }
  footer a {
    font-size: 0.87rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
@media (min-width: 691px) {
  .poster-art {
    top: 21%;
    height: 48%;
  }
}
.live .order-link {
  color: var(--paper);
  background: var(--ink);
}
.live .tariff {
  background: #222219;
  color: #fffbed;
}
.live .detail h2,
.live .detail h2 em {
  font:
    700 clamp(46px, 6.6vw, 120px)/0.98 Oswald,
    Onest,
    sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}
.live .tariff .price,
.live .tariff em {
  color: #d4fc3e;
}
.live .tariff .button {
  background: #d4fc3e;
  color: #222219;
}
.live .delivery {
  background: #ff985d;
}
.live .devices {
  background: #f6f3e7;
}
.device-list {
  border-top: 2px solid currentColor;
}
.device-list details {
  border-bottom: 1px solid #969787;
}
.device-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: clamp(23px, 2.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.055em;
  cursor: pointer;
  padding: 16px 0;
  list-style: none;
}
.device-list summary::-webkit-details-marker {
  display: none;
}
.device-list summary:after {
  content: "+";
  font-size: 1.2em;
  font-weight: 400;
}
.device-list details[open] summary:after {
  content: "−";
}
.device-list p {
  max-width: 45ch;
  padding: 0 30px 24px 0;
}
.live .poster-tile img {
  animation: poster-float 5s ease-in-out infinite alternate;
}
@keyframes poster-float {
  to {
    transform: translateY(-5px) rotate(-2deg);
  }
}

.live .delivery .steps ol {
  display: grid;
  gap: 1.5rem;
}
.live .delivery .steps li {
  display: grid;
  grid-template-columns: 1.875rem minmax(0, 1fr);
  column-gap: 0.875rem;
  row-gap: 0.25rem;
  align-items: center;
  margin: 0;
  padding: 0;
}
.live .delivery .steps li::before {
  position: static;
  display: grid;
  place-items: center;
  line-height: 1;
}
.live .delivery .steps p {
  grid-column: 2;
  margin: 0;
}
@media (min-width: 691px) {
  .live .delivery {
    grid-template-areas: "label ." "title steps";
    align-items: start;
    row-gap: 1rem;
  }
  .live .delivery > div:first-child {
    display: contents;
  }
  .live .delivery .kicker {
    grid-area: label;
    margin: 0;
  }
  .live .delivery h2 {
    grid-area: title;
  }
  .live .delivery .steps {
    grid-area: steps;
    padding-top: 0.55vw;
  }
}

.legal-links {
  flex: 0 0 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 2rem;
  padding: 1rem 0 0.4rem;
  border-top: 1px solid currentColor;
  font-size: 0.9rem;
}
.legal-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.legal-trigger:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
#requisites {
  box-sizing: border-box;
  width: min(30rem, calc(100% - 2rem));
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid var(--ink);
  border-radius: 12px;
  background: #f6f3e7;
  color: var(--ink);
  font-size: 1rem;
}
#requisites::backdrop {
  background: rgb(20 20 16 / 65%);
}
#requisites h2 {
  margin: 0 0 0.8rem;
  font-size: 1.8rem;
}
#requisites dl {
  margin: 1.25rem 0;
}
#requisites dl div {
  display: grid;
  grid-template-columns: 3.75rem 1fr;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-top: 1px solid #ccc9bc;
}
#requisites dd {
  text-align: left;
  font-weight: 400;
}
#requisites a {
  text-decoration: underline;
}
#requisites form {
  margin-top: 1.5rem;
}
#requisites button {
  border: 0;
  font-family: inherit;
  cursor: pointer;
}
@media (max-width: 690px) {
  .legal-links {
    flex-direction: column;
    align-items: flex-start;
  }
}
