/* Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Inter", sans-serif;
  color: #1A1A1A;
  background-color: #F6F5F0;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #017FEC;
  font-weight: 500;
  transition: all 0.2s ease;
}

a:hover, a:focus {
  text-decoration: underline;
  outline: none;
}

ul {
  list-style: none;
}

/* Container alignment */
.main-content, .hero-content, .footer, .header-inner {
  margin-left: 2.5rem;
  max-width: 1100px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(246, 245, 240, 0.96);
  border-bottom: 1px solid #D9D9D9;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding-right: 2rem;
}

.logo img {
  width: 120px;      /* increased for clarity */
  height: auto;     /* keeps correct proportions */
  object-fit: contain;
}


/* Nav */
.nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: #017FEC;
  font-weight: 500;
}

.nav-link.active {
  border-bottom: 2px solid #017FEC;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: #017FEC;
  border-radius: 2px;
}

/* Hero */
.hero {
  background-color: #017FEC;
  color: #F6F5F0;
  padding-top: 120px;
  padding-bottom: 60px;
  width: 100%;
}

.hero-content h1 {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 5rem;
  line-height: 0.92;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 1.125rem;
  margin-top: 1rem;
}

/* CTA List */
.cta-list {
  margin-top: 2.5rem;
}

.cta-list li {
  border-top: 1px solid #D9D9D9;
}

.cta-list li:last-child {
  border-bottom: 1px solid #D9D9D9;
}

.cta-list a {
  display: block;
  padding: 1.25rem 0;
  font-size: 1.35rem;
  font-weight: 500;
  color: #017FEC;
}

.cta-list a:hover {
  background-color: rgba(1,127,236,0.08);
}

/* Footer */
.footer {
  margin-top: 4rem;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  color: #1A1A1A;
}

.footer a {
  color: #017FEC;
  font-weight: 500;
}

/* RESPONSIVE RULES */
@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 4rem;
  }

  .header-inner {
    padding-right: 1rem;
  }
}

@media (max-width: 600px) {
  .header-inner {
    height: 56px;
  }

  .logo span {
    font-size: 1rem;
  }

  .nav {
    position: absolute;
    top: 56px;
    right: 0;
    background: #F6F5F0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-top: 1px solid #D9D9D9;
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    padding: 1rem 2.5rem;
    width: 100%;
    border-bottom: 1px solid #D9D9D9;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .hero-content h1 {
    font-size: 3rem;
    line-height: 0.92;
  }

  .cta-list a {
    padding: 1rem 0;
    font-size: 1rem;
  }

  .footer {
    text-align: center;
    margin-left: 2.5rem;
  }
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
  outline: 2px dashed #017FEC;
  outline-offset: 3px;
}
