:root {
  --blue: #0057b8;
  --blue-dark: #003d82;
  --blue-deep: #002f68;
  --blue-light: #4c91d9;
  --white: #ffffff;
  --skew: -7deg;
}

* {
  box-sizing: border-box;
}

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

html {
  background: var(--blue);
}

body {
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.09), transparent 25rem),
    linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 48%, var(--blue-light) 100%);
  font-family: Inter, Arial, sans-serif;
}

.page-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}

.hero {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(calc(100% - 48px), 1180px);
  min-height: 0;
  margin: 0 auto;
  padding: clamp(24px, 4.2vh, 48px) 0 clamp(18px, 3.2vh, 36px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.brand-logo {
  width: clamp(145px, 18vw, 245px);
  max-height: 13vh;
  height: auto;
  margin-bottom: clamp(20px, 3.5vh, 42px);
  object-fit: contain;
}

.status-badge,
.election-panel {
  transform: skew(var(--skew));
}

.status-badge > span,
.election-panel > span,
.election-panel > strong {
  display: block;
  transform: skew(calc(var(--skew) * -1));
}

.status-badge {
  display: inline-flex;
  padding: 9px 18px 10px;
  color: var(--blue-dark);
  background: var(--white);
  box-shadow: 10px 10px 0 rgba(0, 34, 76, 0.24);
  font-family: Oswald, Arial, sans-serif;
  font-size: clamp(15px, 1.6vw, 21px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin: clamp(19px, 3.5vh, 38px) 0 clamp(12px, 2.2vh, 22px);
  font-family: Oswald, Arial, sans-serif;
  font-size: clamp(54px, min(9.4vw, 13vh), 126px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

.lead {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(15px, 1.55vw, 20px);
  line-height: 1.48;
}

.election-blocks {
  display: flex;
  margin-top: clamp(24px, 4.5vh, 50px);
  align-items: stretch;
  gap: clamp(8px, 1.2vw, 14px);
}

.election-panel {
  display: flex;
  align-items: center;
  box-shadow: 10px 10px 0 rgba(0, 34, 76, 0.23);
  font-family: Oswald, Arial, sans-serif;
  text-transform: uppercase;
}

.election-panel--light {
  padding: 13px 23px 14px;
  color: var(--blue-dark);
  background: #72a8df;
  font-size: clamp(18px, 2vw, 27px);
  font-weight: 600;
  letter-spacing: 0.055em;
}

.election-panel--dark {
  padding: 12px 26px 14px;
  color: var(--white);
  background: var(--blue-deep);
  font-size: clamp(28px, 4vw, 55px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.015em;
}

.decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-7deg);
}

.decor--top {
  top: -155px;
  right: -180px;
  width: min(50vw, 720px);
  height: 250px;
  border: 34px solid rgba(255, 255, 255, 0.12);
}

.decor--bottom {
  right: -120px;
  bottom: -120px;
  width: min(74vw, 960px);
  height: 210px;
  background: rgba(255, 255, 255, 0.09);
}

.footer {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 48px), 1180px);
  margin: 0 auto;
  padding: 0 0 clamp(16px, 2.5vh, 28px);
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

@media (max-width: 760px) {
  body {
    overflow-y: auto;
  }

  .page-shell {
    min-height: 100dvh;
    height: auto;
  }

  .hero {
    width: min(calc(100% - 32px), 1180px);
    min-height: calc(100dvh - 50px);
    padding-top: 24px;
    padding-bottom: 36px;
  }

  .brand-logo {
    width: clamp(135px, 42vw, 190px);
    max-height: none;
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(48px, 15.2vw, 82px);
    line-height: 0.98;
  }

  .lead {
    max-width: 34rem;
    font-size: 15px;
  }

  .election-blocks {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
  }

  .election-panel--light {
    padding: 11px 18px 12px;
    font-size: clamp(17px, 5.7vw, 23px);
  }

  .election-panel--dark {
    max-width: 100%;
    padding: 12px 19px 14px;
    font-size: clamp(29px, 9.3vw, 46px);
  }

  .footer {
    width: min(calc(100% - 32px), 1180px);
  }
}

@media (max-height: 720px) and (min-width: 761px) {
  .hero {
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .brand-logo {
    width: clamp(130px, 15vw, 195px);
    margin-bottom: 16px;
  }

  h1 {
    margin-top: 16px;
    margin-bottom: 10px;
    font-size: clamp(48px, min(8vw, 11vh), 92px);
  }

  .lead {
    font-size: 15px;
  }

  .election-blocks {
    margin-top: 19px;
  }

  .footer {
    padding-bottom: 12px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-logo,
  .status-badge,
  h1,
  .lead,
  .election-blocks {
    opacity: 0;
    animation: reveal 0.65s cubic-bezier(.2,.75,.25,1) forwards;
  }

  .status-badge { animation-delay: 0.06s; }
  h1 { animation-delay: 0.12s; }
  .lead { animation-delay: 0.18s; }
  .election-blocks { animation-delay: 0.24s; }

  @keyframes reveal {
    from {
      opacity: 0;
      translate: 0 14px;
    }
    to {
      opacity: 1;
      translate: 0 0;
    }
  }
}
