* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: #f6f2e9;
  color: #17364b;
  font:
    16px/1.65 'Trebuchet MS',
    Verdana,
    sans-serif;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 5px;
}
:focus-visible {
  outline: 3px solid #a64b30;
}
.skip {
  position: absolute;
  top: -100px;
  background: #17364b;
  color: white;
  padding: 15px;
}
.skip:focus {
  top: 0;
  z-index: 9;
}
header {
  max-width: 1440px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 6%;
  border-bottom: 1px solid #dcded7;
  gap: 20px;
}
.logo {
  position: relative;
  overflow: hidden;
  width: 205px;
  height: 52px;
  display: block;
  flex: none;
  mix-blend-mode: multiply;
}
.logo img {
  position: absolute;
  width: 257px;
  max-width: none;
  left: -27px;
  top: -40px;
  filter: brightness(1.08) contrast(1.1);
}
nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
}
nav a {
  padding-block: 10px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  min-height: 48px;
  background: #17364b;
  color: #fffdf8;
  padding: 13px 22px;
  border: 0;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}
.button:hover {
  background: #a64b30;
}
.text-link {
  display: inline-block;
  margin: 20px;
  font-size: 14px;
  border-bottom: 1px solid #17364b;
}
main {
  max-width: 1440px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 78px 8% 95px;
}
.hero h1 {
  font-size: clamp(48px, 5.6vw, 80px);
  line-height: 1.06;
  margin-bottom: 28px;
}
.hero em {
  color: #a64b30;
}
.hero p {
  max-width: 435px;
  color: #596b73;
  font-size: 17px;
}
.book-scene {
  position: relative;
  min-height: 450px;
  background: #e9e8dc;
  border-radius: 50% 50% 4px 4px;
}
.book {
  position: absolute;
  width: 195px;
  height: 300px;
  padding: 24px;
  overflow: hidden;
  box-shadow: 12px 22px 30px #17364b2b;
  border-radius: 2px 6px 6px 2px;
  font-family: Georgia, serif;
  border-left: 6px solid #0002;
}
.book span {
  font:
    12px 'Trebuchet MS',
    sans-serif;
}
.book strong {
  display: block;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.15;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}
.book i {
  position: absolute;
  width: 210px;
  height: 180px;
  border-radius: 50%;
  background: #d9ae74;
  bottom: -65px;
  left: -30px;
}
.book-one {
  background: #17364b;
  color: #f6f2e9;
  left: 4%;
  top: 115px;
  transform: rotate(-13deg);
}
.book-two {
  background: #a64b30;
  color: #fff1d0;
  right: 3%;
  top: 55px;
  transform: rotate(11deg);
}
.book-two i {
  background: #17364b;
  left: 30px;
  bottom: -80px;
}
.institution-section {
  padding: 64px 8%;
  border-top: 1px solid #dcded7;
}
.institution-section h2,
.access h2,
.contact h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.15;
}
.institution-section > p {
  color: #596b73;
  max-width: 670px;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 48px;
}
.features article {
  border-top: 2px solid #a64b30;
  padding-top: 24px;
}
.features h3 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}
.features p {
  font-size: 15px;
  color: #596b73;
}
.access {
  margin: 30px 6%;
  padding: 48px;
  background: #e9e8dc;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  border-radius: 6px;
}
.access p {
  color: #596b73;
}
.access label {
  display: block;
  margin-bottom: 12px;
}
.tenant-input {
  display: flex;
  align-items: center;
  background: #fffdf8;
  border: 1px solid #c9cec6;
  border-radius: 4px;
  padding-right: 12px;
}
.tenant-input input {
  padding: 14px 12px;
  border: 0;
  background: none;
  min-width: 0;
  width: 100%;
  font-size: 14px;
}
.tenant-input span {
  font-size: 13px;
  color: #596b73;
}
#tenant-help {
  font-size: 13px;
  margin: 12px 0 22px;
}
.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 65px 8%;
}
.contact h2 {
  margin: 0;
}
.contact a {
  border-bottom: 1px solid #17364b;
  padding: 10px 0;
}
footer {
  display: flex;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  padding: 28px 8%;
  border-top: 1px solid #dcded7;
  color: #596b73;
  font-size: 13px;
}
@media (max-width: 950px) {
  header {
    padding-inline: 5%;
  }
  nav {
    gap: 16px;
  }
  .hero {
    padding: 60px 5%;
    gap: 20px;
  }
  .book {
    width: 155px;
    height: 250px;
    padding: 20px;
  }
  .book strong {
    font-size: 26px;
  }
  .book-scene {
    min-height: 390px;
  }
  .features {
    gap: 25px;
  }
  .access {
    gap: 30px;
    padding: 32px;
  }
  .text-link {
    margin-left: 0;
  }
}
@media (max-width: 650px) {
  header {
    flex-wrap: wrap;
    padding: 20px;
  }
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
  }
  nav .button {
    font-size: 12px;
    padding: 10px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero p {
    font-size: 16px;
  }
  .book-scene {
    min-height: 290px;
    max-width: 400px;
    width: 100%;
    margin: auto;
  }
  .book {
    width: 135px;
    height: 210px;
    padding: 16px;
  }
  .book strong {
    font-size: 22px;
  }
  .book-one {
    top: 55px;
    left: 12%;
  }
  .book-two {
    top: 20px;
    right: 12%;
  }
  .institution-section {
    padding: 45px 24px;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 30px;
  }
  .features h3 {
    margin-bottom: 10px;
  }
  .access {
    grid-template-columns: 1fr;
    margin: 10px 20px;
    padding: 28px 20px;
    gap: 16px;
  }
  .access h2 {
    font-size: 34px;
  }
  .contact {
    display: block;
    padding: 45px 24px;
  }
  .contact h2 {
    margin-bottom: 16px;
  }
  footer {
    padding: 24px;
    gap: 20px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
