:root {
  --text: #f7f4f6;
  --base-left: #d35465;
  --base-right: #8c4f98;
  --band-left: #ef7f67;
  --band-right: #a44da0;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(115deg, var(--base-left) 0%, #bf5377 42%, var(--base-right) 100%);
}

.page {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 2.2rem clamp(1rem, 3vw, 2.5rem) 1.75rem;
}

.pattern-band {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(56px, 4.8vw, 90px);
  pointer-events: none;
  opacity: 0.95;
  z-index: 0;
  background-color: transparent;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.12) 75%, rgba(255, 255, 255, 0.12)),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.12) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.12) 75%, rgba(255, 255, 255, 0.12));
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
}

.pattern-band-left {
  left: 0;
  background-color: var(--band-left);
}

.pattern-band-right {
  right: 0;
  background-color: var(--band-right);
}

.header,
.content,
.footer {
  position: relative;
  z-index: 1;
}

.header {
  align-self: start;
  margin-top: 0.2rem;
}

.brand {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;

}

.brand img {
width: 100%;
margin: auto;
max-width: 380px;
}

.content {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
}

h1 {
  margin: 0;
  font-size: clamp(2.35rem, 4.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.lead {
  margin: clamp(1.2rem, 2.2vw, 2rem) auto 0;
  max-width: 46ch;
  font-size: clamp(1.22rem, 1.65vw, 1.65rem);
  line-height: 1.35;
  font-weight: 400;
}

.secondary {
  margin-top: clamp(1rem, 2vw, 1.8rem);
  max-width: 58ch;
}

.footer {
  align-self: end;
  padding-top: 1rem;
  font-size: clamp(0.86rem, 1vw, 2rem);
  opacity: 0.96;
}

@media (max-width: 1024px) {
  .page {
    padding: 1.6rem 1rem 1.25rem;
  }

  .lead {
    max-width: 58ch;
  }
}

@media (max-width: 640px) {
  .pattern-band {
    width: 26px;
    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
  }

  .brand {
    font-size: clamp(1.4rem, 8.5vw, 2rem);
    letter-spacing: 0.15rem;
  }

  h1 {
    font-size: clamp(1.75rem, 11.8vw, 2.7rem);
    line-height: 1.15;
  }

  .lead {
    font-size: clamp(1rem, 5.6vw, 1.35rem);
    line-height: 1.4;
  }

  .footer {
    font-size: 0.8rem;
  }
}
