:root {
  --blue: #0075ff;
  --deep-blue: #0059df;
  --orange: #f27202;
  --ink: #333333;
  --white: #ffffff;
  --font-body: "Inter", sans-serif;
  --font-ui: "Roboto", sans-serif;
  --text-body: 20px;
  --text-card: 18px;
  --text-heading: 32px;
}

* { box-sizing: border-box; }

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

body {
  color: var(--white);
  background: #f1f8ff;
  font-family: var(--font-body);
}

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

.hero {
  position: relative;
  min-height: 818px;
  overflow: hidden;
  isolation: isolate;
}

.hero__backdrop {
  position: absolute;
  inset: -8%;
  z-index: -1;
  background: linear-gradient(180deg, rgb(0 87 183 / 40%), rgb(0 54 132 / 55%)), url("assets/background-highway.webp") center / cover;
  filter: blur(6px);
  transform: scale(1.05);
}

.site-footer__backdrop {
  position: absolute;
  inset: -8%;
  z-index: -1;
  background: url("assets/footer-background.png") center / cover;
  filter: blur(5px);
  transform: scale(1.05);
}

.hero__content {
  display: flex;
  width: min(1440px, 100%);
  min-height: 818px;
  margin: 0 auto;
  padding: 100px 150px 58px;
  flex-direction: column;
  align-items: center;
  transform: translateY(-33px);
}

.site-brand {
  display: inline-flex;
  width: min(336px, 100%);
  padding: 8px;
  align-items: center;
  border-radius: 8px;
  background: var(--white);
}

.site-brand__logo { display: block; width: 100%; height: auto; }

.hero__intro {
  display: flex;
  width: min(900px, 100%);
  padding: 56px 0 12px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.notice {
  width: min(900px, 100%);
  margin-bottom: 30px;
  padding: 16px 24px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  background: #eaf2ff;
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.notice__password { font-weight: 800; }

.hero h1 {
  margin: 0;
  color: var(--white);
  font-size: var(--text-heading);
  font-weight: 800;
  line-height: 1.3;
}

.hero__intro p {
  max-width: 900px;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.3;
}

.publisher-list {
  display: flex;
  width: min(900px, 100%);
  max-width: 900px;
  padding: 30px 0;
  justify-content: center;
  gap: 30px;
}

.publisher-card {
  display: flex;
  width: auto;
  min-height: 190px;
  padding: 24px 16px;
  align-items: center;
  flex: 1 0 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.publisher-card:hover,
.publisher-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgb(0 0 0 / 16%);
}

.publisher-card__logo {
  display: grid;
  width: 80px;
  height: 80px;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.publisher-card__logo img { display: block; width: 72px; height: 72px; object-fit: contain; }

.publisher-card > span:last-child {
  font-family: var(--font-ui);
  font-size: var(--text-card);
  font-weight: 600;
  line-height: 1.3;
}

.support {
  display: flex;
  width: 418px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.support__line { width: 100%; height: 1px; background: #d1d1d1; }
.support p { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.35; text-align: center; }
.support__actions { display: flex; gap: 18px; }

.support-button {
  display: inline-flex;
  width: 200px;
  min-height: 52px;
  padding: 12px 16px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border-radius: 8px;
  background: var(--orange);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.support-button:hover, .support-button:focus-visible { background: #d96400; }

.site-footer {
  position: relative;
  min-height: 319px;
  overflow: hidden;
  color: #212338;
  background: var(--white);
  border-top: 1px solid #f6f6f6;
  isolation: isolate;
}

.site-footer__backdrop { opacity: .7; }
.site-footer__content { display: flex; min-height: 289px; padding: 45px 24px 30px; flex-direction: column; align-items: center; gap: 15px; }
.site-footer__logo { display: block; width: min(240px, 100%); height: auto; object-fit: contain; }
.site-footer__title { margin: 0; color: inherit; font-family: var(--font-ui); font-size: 16px; font-weight: 700; }
.site-footer__rule { width: min(440px, 80%); height: 1px; background: rgb(51 51 51 / 30%); }
.site-footer__details { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; font-family: var(--font-ui); font-size: 15px; }
.site-footer__detail { display: inline-flex; align-items: center; gap: 6px; }
.site-footer__detail { color: inherit; text-decoration: none; }
.site-footer__detail:hover, .site-footer__detail:focus-visible { color: #2f69fd; }
.site-footer__detail-icon { display: grid; width: 24px; height: 24px; place-items: center; border: 1px solid #212338; border-radius: 50%; }
.site-footer__detail-icon img { display: block; width: 12px; height: 12px; }
.site-footer__address { margin: 0; font-family: var(--font-ui); font-size: 15px; }
.site-footer__copyright { display: grid; min-height: 30px; place-items: center; color: var(--white); background: #2f69fd; font-family: var(--font-ui); font-size: 13px; }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero__content { min-height: 0; padding: 72px 32px 48px; transform: none; }
  .publisher-list { flex-wrap: wrap; }
  .publisher-card { width: auto; flex: 1 1 220px; }
}

@media (max-width: 600px) {
  :root { --text-body: 16px; --text-card: 18px; --text-heading: 26px; }
  .hero__content { padding: 48px 16px 36px; }
  .site-brand { width: min(276px, 100%); }
  .hero__intro { padding-top: 36px; }
  .hero__intro p { font-size: var(--text-body); line-height: 1.5; }
  .publisher-list { padding: 24px 0; gap: 16px; }
  .publisher-card { width: 100%; max-width: 320px; min-height: 178px; flex-basis: 100%; }
  .support { width: 100%; }
  .support__actions { width: min(100%, 320px); flex-direction: column; gap: 8px; }
  .support-button { width: 100%; }
  .site-footer__details { flex-direction: column; align-items: center; gap: 8px; }
}
