/* Арт-директор на месяц — абонемент. Палитра главной: красный, чёрный, кость */
:root {
  --red: #ff3b14; --ink: #0e0d0c; --bone: #ede6d8;
  --g: clamp(16px, 2.2vw, 32px);
  --display: "Quantum", "Deledda Closed", sans-serif;
  --sans: "Deledda", system-ui, sans-serif;
  --mono: "Feature Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--red); color: var(--ink); font-family: var(--sans); font-weight: 300; overflow-x: hidden; overflow-x: clip; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
::selection { background: var(--ink); color: var(--red); }
body::after { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .16; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.mono { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase; line-height: 1.7; }
.mono b { font-weight: 700; }
.rule { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1.5px solid currentColor; padding-top: 10px; }
section { padding: 14vh var(--g); position: relative; }
h2 { font-weight: 100; font-size: clamp(40px, 7vw, 140px); line-height: .88; text-transform: uppercase; letter-spacing: -.02em; margin: 3vh 0 7vh; }
h2 b { font-weight: 900; }

.top { position: absolute; inset: 0 0 auto 0; z-index: 5; padding: 14px var(--g); display: flex; justify-content: space-between; }
.top a { text-decoration: none; }
.top a:hover { text-decoration: line-through; }

/* 1. первый экран */
.hero { min-height: 100vh; min-height: 100svh; padding-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; gap: 3vh; overflow: hidden; }
.hero h1 { line-height: .8; }
.hero h1 .a { display: block; width: max-content; font-family: var(--display); font-weight: 400; color: var(--bone); letter-spacing: -.02em; margin-left: -.03em; white-space: nowrap; }
.hero h1 .b { display: block; font-weight: 100; font-size: clamp(48px, 11vw, 220px); text-transform: uppercase; letter-spacing: -.03em; text-align: right; }
.hero .lead { max-width: 46ch; font-size: clamp(19px, 1.8vw, 30px); line-height: 1.28; font-weight: 400; }
.hero .lead b { font-weight: 900; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { font-family: var(--mono); font-weight: 700; font-size: clamp(14px, 1.3vw, 18px); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; padding: 16px 22px; border: 2px solid var(--ink); }
.btn.main { background: var(--ink); color: var(--red); transform: rotate(-1.5deg); box-shadow: 6px 6px 0 var(--bone); transition: transform .25s; }
.btn.main:hover { transform: rotate(0) scale(1.03); }
.btn.ghost:hover { background: var(--ink); color: var(--bone); }

/* 2. кому */
.who { background: var(--ink); color: var(--bone); }
.who .rule { color: var(--bone); }
.pains { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.pains li { border-top: 2px solid var(--red); padding-top: 16px; display: grid; gap: 12px; align-content: start; }
.pains b { font-family: var(--mono); font-weight: 700; color: var(--red); font-size: 13px; letter-spacing: .2em; }
.pains h3 { font-weight: 900; font-size: clamp(22px, 2.3vw, 40px); line-height: .98; text-transform: uppercase; letter-spacing: -.02em; }
.pains p { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.4; font-weight: 400; color: rgba(237, 230, 216, .8); }

/* 3. что в абонементе */
.inside { background: var(--bone); }
.inside ol { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--g); }
.inside li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 2vw; border-top: 2px solid var(--ink); padding: 3vh 0; }
.inside li > b { grid-row: span 2; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 110px); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.inside h3 { font-weight: 900; font-size: clamp(20px, 2vw, 34px); line-height: 1; text-transform: uppercase; }
.inside p { font-size: clamp(15px, 1.2vw, 19px); line-height: 1.4; font-weight: 400; }

/* 4. расписание — билет с отрывными неделями */
.plan { background: var(--ink); color: var(--bone); overflow: hidden; }
.plan .rule { color: var(--bone); }
.ticket { position: relative; background: var(--bone); color: var(--ink); padding: clamp(18px, 2.4vw, 34px); transform: rotate(-1deg); box-shadow: 14px 14px 0 var(--red); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--ink); }
.ticket::before { left: -13px; } .ticket::after { right: -13px; }
.t-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-bottom: 2px dashed var(--ink); padding-bottom: 12px; }
.weeks { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.weeks li { padding: 22px 18px 24px; border-left: 2px dashed var(--ink); display: grid; gap: 10px; align-content: start; transition: background .2s; }
.weeks li:first-child { border-left: 0; padding-left: 0; }
.weeks li:hover { background: rgba(255, 59, 20, .14); }
.weeks b { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .16em; color: var(--red); }
.weeks h3 { font-weight: 900; font-size: clamp(22px, 2.2vw, 38px); line-height: .95; text-transform: uppercase; letter-spacing: -.02em; overflow-wrap: anywhere; }
.weeks ul { list-style: none; display: grid; gap: 8px; }
.weeks ul li { padding: 0 0 0 16px; border: 0; position: relative; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.35; font-weight: 400; display: block; }
.weeks ul li::before { content: "✕"; position: absolute; left: 0; font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--red); top: 2px; }
.weeks ul li:hover { background: none; }
.t-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; border-top: 2px dashed var(--ink); padding-top: 12px; }
.stamp { position: absolute; right: -10px; top: -40px; width: 120px; height: 120px; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: var(--red); color: var(--ink); border: 2px solid var(--ink); font-family: var(--mono); font-weight: 700; font-size: 13px; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; transform: rotate(14deg); }

/* 5. штат или месяц */
.vs .grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 2px solid var(--ink); }
.vs .grid > div { padding: 14px 14px 14px 0; border-bottom: 1.5px solid rgba(14, 13, 12, .3); font-size: clamp(15px, 1.25vw, 20px); line-height: 1.35; font-weight: 400; }
.vs .grid .h { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.vs .grid .k { font-weight: 900; text-transform: uppercase; font-size: clamp(14px, 1.1vw, 18px); }
.vs .grid .m { font-weight: 600; }
.vs .grid .h.m { background: var(--ink); color: var(--red); padding-left: 12px; }
.vs .grid .m:not(.h) { background: rgba(14, 13, 12, .08); padding-left: 12px; }

/* 6. подписка */
.sub { background: var(--bone); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 5vw; align-items: center; }
.sub .big { font-family: var(--display); font-size: clamp(54px, 9vw, 180px); line-height: .8; color: var(--red); }
.sub p { font-size: clamp(18px, 1.6vw, 26px); line-height: 1.35; font-weight: 400; }
.sub p + p { margin-top: 2vh; }

/* 7. в работе */
.proof .cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.proof a { display: grid; gap: 10px; text-decoration: none; border-top: 2px solid var(--ink); padding-top: 12px; }
.proof a img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.proof a:hover img { transform: scale(1.03) rotate(-1deg); }
.proof a b { font-weight: 900; font-size: clamp(18px, 1.6vw, 26px); text-transform: uppercase; line-height: 1; }

/* 8. финал */
.go { background: var(--ink); color: var(--bone); overflow: hidden; }
.go .rule { color: var(--bone); }
.go .big { display: block; width: max-content; font-family: var(--display); line-height: .8; color: var(--red); text-decoration: none; margin: 5vh 0 6vh -.03em; transform: rotate(-3deg); }
.go .big:hover { color: var(--bone); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--g); }
.steps li { border-top: 1.5px solid var(--bone); padding-top: 12px; font-weight: 900; font-size: clamp(17px, 1.6vw, 26px); line-height: 1.15; text-transform: uppercase; }
.steps b { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--red); margin-bottom: 8px; }

footer { padding: var(--g); background: var(--ink); color: var(--bone); border-top: 1.5px solid rgba(237, 230, 216, .3); }

@media (max-width: 1000px) {
  .weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weeks > li:nth-child(3) { border-left: 0; padding-left: 0; }
  .weeks > li:nth-child(n+3) { border-top: 2px dashed var(--ink); }
  .proof .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pains, .inside ol, .sub, .steps { grid-template-columns: minmax(0, 1fr); }
  .weeks { grid-template-columns: minmax(0, 1fr); }
  .weeks > li { border-left: 0; padding-left: 0; }
  .weeks > li + li { border-top: 2px dashed var(--ink); }
  .ticket { transform: none; box-shadow: 8px 8px 0 var(--red); }
  .stamp { right: 4px; top: -50px; width: 92px; height: 92px; font-size: 10px; }
  .vs .grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs .grid .k { grid-column: 1 / -1; padding-bottom: 0; border-bottom: 0; padding-top: 18px; }
  .vs .grid .h:first-child { display: none; }
  .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* старт + подписка */
.how { background: var(--bone); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.2fr); gap: var(--g); align-items: center; }
.st { display: grid; gap: 12px; align-content: start; padding: 26px 24px; border: 2px solid var(--ink); text-decoration: none; transition: transform .25s; }
.st h3 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 96px); line-height: .85; text-transform: uppercase; }
.st p { font-size: clamp(16px, 1.3vw, 21px); line-height: 1.4; font-weight: 400; }
.st .go2 { font-weight: 700; }
.st:hover { transform: translateY(-4px); }
.st.hot { background: var(--ink); color: var(--bone); transform: rotate(-1.5deg); box-shadow: 10px 10px 0 var(--red); }
.st.hot h3, .st.hot .mono { color: var(--red); }
.st.hot:hover { transform: rotate(0); }
.arr { font-family: var(--mono); font-weight: 700; font-size: clamp(40px, 5vw, 90px); }

/* как поставить задачу */
.flow { background: var(--red); padding-top: 4vh; }
.flow ol { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--g) * 1.6); margin-top: 5vh; }
.flow li { position: relative; background: var(--bone); padding: 22px 20px; border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); display: grid; gap: 8px; align-content: start; }
.flow li:nth-child(2) { transform: rotate(1deg); }
.flow li:nth-child(3) { transform: rotate(-1deg); }
.flow b { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--red); }
.flow h3 { font-weight: 900; font-size: clamp(20px, 1.8vw, 30px); line-height: 1; text-transform: uppercase; }
.flow p { font-size: clamp(15px, 1.15vw, 18px); line-height: 1.4; font-weight: 400; }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: calc(var(--g) * -1.25); top: 50%; transform: translateY(-50%); font-family: var(--mono); font-weight: 700; font-size: 22px; }

@media (max-width: 760px) {
  .two { grid-template-columns: minmax(0, 1fr); }
  .st h3 { font-size: 11vw; }
  .st { padding: 20px 16px; }
  .arr { transform: rotate(90deg); justify-self: center; }
  .st.hot { transform: none; box-shadow: 6px 6px 0 var(--red); }
  .flow ol { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .flow li:nth-child(n) { transform: none; }
  .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -28px; transform: translateX(-50%); }
}
