*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6667;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  background: transparent;
}

.top-nav.scrolled {
  background-color: #212121;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.nav-site-title {
  font-size: 19px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.5px;
  display: inline-block;
}

.nav-site-title:hover {
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ref-link-btn {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 5px 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ref-link-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-banner {
  position: relative;
  width: 100%;
  height: 340px;
  background-color: #226e93;
  background-image: url('./imgs/header-bg.png'), url('https://ssl.gstatic.com/atari/images/simple-header-blended-small.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(33, 33, 33, 0.38);
  z-index: 1;
}

.hero-title {
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-size: 64px;
  font-weight: 300;
  letter-spacing: 1.5px;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  padding: 0 20px;
}

.content-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 48px 36px 100px 36px;
}

.content-wrapper h1 {
  font-size: 32px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 24px;
  letter-spacing: -0.2px;
}

.content-wrapper h2 {
  font-size: 22px;
  font-weight: 700;
  color: #212121;
  margin-top: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.1px;
}

.content-wrapper p {
  font-size: 15.5px;
  color: #333333;
  margin-bottom: 18px;
  line-height: 1.7;
}

.content-wrapper strong {
  font-weight: 700;
  color: #212121;
}

.content-wrapper ul {
  margin: 16px 0 24px 32px;
  list-style-type: disc;
}

.content-wrapper li {
  font-size: 15.5px;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 12px;
}

.content-wrapper a.email-link {
  color: #1a73e8;
  text-decoration: underline;
  transition: color 0.15s ease;
}

.content-wrapper a.email-link:hover {
  color: #0b57d0;
}

.floating-info-btn {
  position: fixed;
  bottom: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(33, 33, 33, 0.65);
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
  z-index: 999;
}

.floating-info-btn:hover {
  background-color: rgba(0, 0, 0, 0.08);
  color: rgba(33, 33, 33, 0.95);
}

.floating-info-btn:active {
  transform: scale(0.94);
}

.floating-info-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.info-popover {
  position: fixed;
  bottom: 60px;
  left: 18px;
  width: 280px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
  padding: 16px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.info-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.info-popover-header {
  font-size: 14px;
  font-weight: 700;
  color: #212121;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-popover-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #777;
}

.info-popover-close:hover {
  color: #212121;
}

.info-popover-content {
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}

.info-popover-content p {
  margin-bottom: 6px;
}

.info-popover-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #eeeeee;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-popover-footer a {
  color: #1a73e8;
  font-size: 12.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.info-popover-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .top-nav {
    padding: 0 20px;
  }
  .hero-banner {
    height: 250px;
  }
  .hero-title {
    font-size: 40px;
  }
  .content-wrapper {
    padding: 32px 20px 80px 20px;
  }
  .content-wrapper h1 {
    font-size: 26px;
  }
  .content-wrapper h2 {
    font-size: 19px;
  }
}
