:root {
  --background: #f3f3f3;
  --ink: #1f2a44;
  --blue: #2b61ff;
  --button: #202d49;
  --badge-border: #efa300;
  --badge-start: #ffe28c;
  --badge-end: #ffd875;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  width: min(1500px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(52px, 6vh, 76px) 0 clamp(38px, 5vh, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

h1 {
  max-width: 1460px;
  margin: 0;
  font-size: clamp(2.5rem, 3.65vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

.title-lead,
.title-rest {
  display: block;
}

.authors {
  margin: clamp(32px, 4.2vh, 44px) 0 clamp(25px, 3.2vh, 34px);
  color: var(--blue);
  font-size: clamp(1.65rem, 2.25vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.acceptance {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: calc(100% - 20px);
  padding: 20px clamp(24px, 3.7vw, 46px);
  border: 4px solid var(--badge-border);
  border-radius: 25px;
  background: linear-gradient(180deg, var(--badge-start), var(--badge-end));
  box-shadow: 0 14px 30px rgba(31, 42, 68, 0.16);
  color: #b95600;
  font-size: clamp(1.35rem, 2.15vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
}

.acceptance strong {
  color: #2256f1;
}

.links {
  margin-top: clamp(36px, 4.8vh, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(210px, 275px));
  gap: clamp(20px, 2.2vw, 28px);
}

.resource-link {
  min-height: 106px;
  padding: 22px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 25px;
  color: #fff;
  background: var(--button);
  box-shadow: 0 13px 24px rgba(31, 42, 68, 0.2);
  font-size: clamp(1.45rem, 2.05vw, 2.25rem);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.resource-link:hover,
.resource-link:focus-visible {
  transform: translateY(-3px);
  background: #293858;
  box-shadow: 0 17px 28px rgba(31, 42, 68, 0.25);
  outline: none;
}

.icon {
  font-size: 0.92em;
}

.construction {
  margin: clamp(48px, 6vh, 68px) 0 0;
  color: #333;
  font-size: clamp(1.75rem, 3vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

@media (max-width: 820px) {
  .hero {
    width: min(100% - 28px, 1500px);
    justify-content: flex-start;
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(2.05rem, 8.3vw, 3.45rem);
    line-height: 1.08;
  }

  .authors {
    font-size: clamp(1.35rem, 6.4vw, 2rem);
  }

  .acceptance {
    gap: 9px;
    border-width: 3px;
    border-radius: 21px;
  }

  .links {
    width: min(100%, 460px);
    grid-template-columns: 1fr;
  }

  .resource-link {
    min-height: 84px;
    border-radius: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .resource-link {
    transition: none;
  }
}
