:root {
  --paper: #f4f1ea;
  --paper-deep: #e5dfd4;
  --ink: #1e1f1d;
  --muted: #666761;
  --stone: #9a9a95;
  --red: #df463e;
  --red-dark: #b72f2a;
  --line: rgba(30, 31, 29, 0.18);
  --shadow: 0 24px 70px rgba(30, 31, 29, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(90deg, rgba(30, 31, 29, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(30, 31, 29, 0.05) 1px, transparent 1px);
  background-size: 17px 17px;
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 9;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 234, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  line-height: 0.8;
  text-transform: uppercase;
}

.brand-script,
.script-line {
  color: #4c4d49;
  font-family: "Caveat", cursive;
  font-size: 31px;
  font-weight: 700;
  text-transform: none;
  transform: rotate(-5deg);
}

.brand-block {
  color: var(--red);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav a,
.footer a {
  transition: color 180ms ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--red);
}

.header-cta {
  justify-self: end;
  padding: 11px 16px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.76fr);
  gap: clamp(24px, 5vw, 86px);
  min-height: calc(100vh - 82px);
  padding: clamp(42px, 6vw, 82px) clamp(18px, 4vw, 54px) 100px;
  overflow: hidden;
}

.hero::before {
  content: "MAX";
  position: absolute;
  left: -0.04em;
  bottom: 16px;
  color: rgba(223, 70, 62, 0.09);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(180px, 27vw, 420px);
  font-weight: 700;
  line-height: 0.7;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 840px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(58px, 9vw, 138px);
  line-height: 1.04;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(42px, 6vw, 92px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 12px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(28px, 3vw, 46px);
  line-height: 1.08;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 34px;
  color: #444540;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: 600;
}

.hero-actions,
.footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 15px 20px;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: #fffaf1;
}

.button-primary:hover {
  background: var(--red-dark);
}

.button-ghost {
  background: rgba(244, 241, 234, 0.5);
}

.hero-poster {
  position: relative;
  z-index: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(223, 70, 62, 0.08), transparent 45%),
    #f8f6ef;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-poster::before {
  content: "16";
  position: absolute;
  right: -0.08em;
  bottom: -0.08em;
  color: rgba(30, 31, 29, 0.08);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(210px, 28vw, 420px);
  font-weight: 700;
  line-height: 0.8;
}

.poster-mark {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  width: min-content;
  line-height: 0.78;
}

.poster-script {
  color: #4c4d49;
  font-family: "Caveat", cursive;
  font-size: clamp(58px, 7vw, 108px);
  font-weight: 700;
  transform: rotate(-5deg) translateX(10px);
  white-space: nowrap;
}

.poster-media {
  color: var(--red);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(86px, 10vw, 152px);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.city-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
  margin: 28px 0 110px;
  padding: 0;
  list-style: none;
}

.city-stack li {
  border-bottom: 1px solid rgba(30, 31, 29, 0.18);
  color: #4c4d49;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  text-transform: uppercase;
}

.poster-count {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  justify-items: end;
  color: rgba(30, 31, 29, 0.72);
  text-align: right;
}

.poster-count strong {
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(88px, 9vw, 150px);
  font-weight: 700;
  line-height: 0.74;
}

.poster-count span {
  max-width: 150px;
  color: var(--red);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
}

.poster-label {
  position: absolute;
  left: 24px;
  bottom: 26px;
  z-index: 2;
  padding: 9px 11px 10px;
  background: var(--red);
  color: #fffaf1;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.06;
  text-transform: uppercase;
}

.ticker {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  display: flex;
  gap: 24px;
  width: max-content;
  color: var(--ink);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  animation: ticker 24s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.proof-strip > div {
  min-height: 190px;
  padding: 24px clamp(18px, 3vw, 38px);
  border-right: 1px solid var(--ink);
  background: var(--red);
  color: #fffaf1;
}

.proof-strip > div:nth-child(2) {
  background: var(--ink);
}

.proof-strip > div:last-child {
  border-right: 0;
  background: var(--paper-deep);
  color: var(--ink);
}

.proof-num {
  display: block;
  margin-bottom: 46px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 28px;
}

.proof-strip p {
  max-width: 420px;
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.05;
}

.section {
  padding: clamp(68px, 9vw, 132px) clamp(18px, 4vw, 54px);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.section-title {
  position: sticky;
  top: 120px;
}

.format-list {
  display: grid;
  gap: 16px;
}

.format-card {
  min-height: 250px;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  background: #f9f6ee;
}

.format-card.is-dark {
  background: var(--ink);
  color: #fffaf1;
}

.format-card span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--red);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.format-card p,
.channel-tile span,
.calc-result p,
.form-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.is-dark p {
  color: rgba(255, 250, 241, 0.72);
}

.channels {
  background: var(--ink);
  color: #fffaf1;
}

.channels-head {
  display: grid;
  grid-template-columns: minmax(210px, 0.35fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 44px;
}

.channels .script-line {
  color: rgba(255, 250, 241, 0.72);
  font-size: clamp(38px, 5vw, 72px);
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 250, 241, 0.24);
  border-left: 1px solid rgba(255, 250, 241, 0.24);
}

.channel-tile {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid rgba(255, 250, 241, 0.24);
  border-bottom: 1px solid rgba(255, 250, 241, 0.24);
}

.channel-tile strong {
  display: block;
  margin-bottom: 82px;
  color: #fffaf1;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 31px;
  line-height: 1.08;
  text-transform: uppercase;
}

.channel-tile.red {
  background: var(--red);
}

.channel-tile.red span {
  color: #fffaf1;
}

.channel-directory {
  margin-top: clamp(28px, 5vw, 62px);
  border-top: 1px solid rgba(255, 250, 241, 0.24);
}

.directory-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.directory-head span {
  color: var(--red);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
}

.directory-head p {
  max-width: 300px;
  margin: 0;
  color: rgba(255, 250, 241, 0.68);
  font-weight: 700;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 250, 241, 0.18);
  border-left: 1px solid rgba(255, 250, 241, 0.18);
}

.channel-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 106px;
  padding: 16px;
  border-right: 1px solid rgba(255, 250, 241, 0.18);
  border-bottom: 1px solid rgba(255, 250, 241, 0.18);
  background: rgba(255, 250, 241, 0.02);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.channel-card:hover {
  background: rgba(223, 70, 62, 0.18);
  transform: translateY(-2px);
}

.max-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 20px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.62) 0 8%, rgba(255, 255, 255, 0.22) 9% 17%, transparent 30%),
    radial-gradient(circle at 72% 78%, rgba(255, 78, 69, 0.72), transparent 42%),
    linear-gradient(135deg, #201b19 0%, #8b2522 43%, #df463e 100%);
  color: #fffaf1;
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow:
    inset 0 -14px 28px rgba(52, 11, 9, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.max-logo::after {
  content: "";
  position: absolute;
  inset: -34% -46% auto auto;
  width: 86%;
  height: 86%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  filter: blur(12px);
  transform: rotate(-18deg);
}

.channel-avatar {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 250, 241, 0.28);
  border-radius: 50%;
  object-fit: cover;
}

.channel-card span {
  color: #fffaf1;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.channel-card small {
  align-self: start;
  padding: 4px 6px;
  background: var(--red);
  color: #fffaf1;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.calculator {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.65fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
  background: var(--paper-deep);
}

.calc-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--ink);
  background: var(--paper);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffbf4;
  color: var(--ink);
  outline: none;
}

input,
select {
  height: 48px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
}

input[type="range"] {
  padding: 0;
  accent-color: var(--red);
  background: transparent;
}

.calc-result {
  padding: 22px;
  background: var(--ink);
  color: #fffaf1;
}

.calc-result span {
  display: block;
  margin-bottom: 10px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 0.9;
}

.calc-result p {
  color: rgba(255, 250, 241, 0.74);
}

.contacts {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: start;
  overflow: hidden;
  background: var(--ink);
  color: #fffaf1;
}

.contacts::before {
  content: "MAX";
  position: absolute;
  right: -0.05em;
  bottom: -0.12em;
  color: rgba(255, 250, 241, 0.055);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(170px, 27vw, 360px);
  font-weight: 700;
  line-height: 0.8;
  pointer-events: none;
}

.contacts-copy,
.contact-board {
  position: relative;
  z-index: 1;
}

.contacts .script-line {
  color: rgba(255, 250, 241, 0.78);
  font-size: clamp(42px, 6vw, 80px);
}

.contacts-copy h2 {
  max-width: 900px;
}

.contacts-copy p:not(.script-line) {
  max-width: 610px;
  margin-top: 24px;
  color: rgba(255, 250, 241, 0.68);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
}

.contact-board {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.6vw, 28px);
  border: 1px solid rgba(255, 250, 241, 0.28);
  background:
    linear-gradient(135deg, rgba(223, 70, 62, 0.26), transparent 42%),
    rgba(255, 250, 241, 0.08);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.26);
}

.contact-board-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 250, 241, 0.22);
}

.contact-board-head span {
  color: var(--red);
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 700;
  line-height: 1.04;
  text-transform: uppercase;
}

.contact-board-head p {
  margin: 0;
  color: rgba(255, 250, 241, 0.62);
  font-size: 13px;
  font-weight: 900;
  text-align: right;
  text-transform: uppercase;
}

.contact-grid {
  display: grid;
  gap: 12px;
}

.contact-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: center;
  min-height: 92px;
  padding: 14px;
  border: 1px solid rgba(255, 250, 241, 0.2);
  background: rgba(255, 250, 241, 0.92);
  color: var(--ink);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.contact-card:hover {
  transform: translateX(6px);
  border-color: var(--red);
  background: #fffaf1;
}

.messenger-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 21px;
}

.max-mark {
  border: 1px solid rgba(30, 31, 29, 0.08);
}

.contact-body {
  display: grid;
  min-width: 0;
}

.contact-body strong {
  overflow: hidden;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 700;
  line-height: 0.98;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-body small {
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  color: var(--red);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.footer {
  justify-content: space-between;
  padding: 26px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .split,
  .calculator,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-poster {
    min-height: 440px;
  }

  .city-stack {
    margin-bottom: 96px;
  }

  .section-title {
    position: static;
  }

  .channel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .network-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .brand-script {
    font-size: 25px;
  }

  .brand-block {
    font-size: 24px;
  }

  .hero {
    padding: 34px 16px 78px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 86px);
  }

  .hero-poster,
  .hero-poster::before {
    min-height: 340px;
  }

  .hero-poster::before {
    display: none;
  }

  .hero-poster {
    padding: 18px;
  }

  .poster-count {
    right: 18px;
    bottom: 18px;
  }

  .poster-count strong {
    font-size: 86px;
  }

  .poster-count span {
    max-width: 115px;
    font-size: 14px;
  }

  .poster-label {
    left: 18px;
    bottom: 20px;
    font-size: 23px;
  }

  .city-stack {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 20px;
    margin-bottom: 122px;
  }

  .city-stack li {
    font-size: 18px;
  }

  .proof-strip,
  .channels-head,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip > div {
    min-height: 150px;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .proof-num {
    margin-bottom: 24px;
  }

  .section {
    padding: 62px 16px;
  }

  .channel-tile {
    min-height: 180px;
  }

  .channel-tile strong {
    margin-bottom: 42px;
  }

  .directory-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-board-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-board-head p {
    text-align: left;
  }

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

  .channel-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    min-height: 92px;
    padding: 13px;
  }

  .channel-avatar {
    width: 58px;
    height: 58px;
  }

  .channel-card span {
    font-size: 20px;
  }

  .contact-card {
    grid-template-columns: 58px minmax(0, 1fr) 30px;
    gap: 12px;
    min-height: 84px;
    padding: 12px;
  }

  .messenger-mark {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 18px;
  }

  .contact-body strong {
    font-size: 25px;
  }

  .contact-body small {
    font-size: 13px;
  }

  .button {
    width: 100%;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
