/* ========= RESET & BASE ========= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.5;
  color: #333;
  background: #f4f4f6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}


/* ========= HERO FULL-BLEED ========= */
.hero {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  background: linear-gradient(135deg, #6264A7 0%, #00A4EF 100%);
  color: #fff;
  padding: 4rem 1rem;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.hero-text h1 {
  font-size: clamp(1.75rem,5vw,2.75rem);
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: clamp(1rem,3vw,1.125rem);
  margin-bottom: 1.5rem;
}
.btn-primary {
  display: inline-block;
  background: #00A4EF;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 1rem;
  transition: background .2s;
}
.btn-primary:hover {
  background: #0083c7;
}

/* ========= PAGE GRID & BOXES ========= */
.page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .page-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

/* card container */
.box {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ========= TWO-COLUMN BLOCKS ========= */
.two-col-block,
.two-col-block.alt {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 600px) {
  .two-col-block,
  .two-col-block.alt {
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  }
}
.col h2, .col h3 {
  font-size: clamp(1.5rem,4vw,1.75rem);
  margin-bottom: 0.5rem;
}
.col p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-outline {
  display: inline-block;
  border: 2px solid #00A4EF;
  color: #00A4EF;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background .2s;
}
.btn-outline:hover {
  background: rgba(0,164,239,0.1);
}

/* ========= FULL-BLOCK ========= */
.full-block {
  text-align: center;
}
.full-block h3 {
  font-size: clamp(1.5rem,4vw,1.75rem);
  margin-bottom: 0.75rem;
}
.full-block p {
  color: #555;
  margin-bottom: 1rem;
}

/* ========= FOOTER ========= */
.site-footer {
  background: #f9f9f9;
  padding: 2rem 0;
}
.footer-cta,
.footer-legal {
  max-width: 1200px;
  margin: 0 auto 1rem;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
  font-size: 0.9rem;
  color: #555;
}
.footer-link-primary {
  font-weight: 600;
  color: #00A4EF;
}
.footer-link-secondary {
  font-weight: 500;
  color: #555;
}
.footer-cta a:hover,
.footer-legal a:hover {
  text-decoration: underline;
}
.footer-legal span {
  color: #555;
  font-size: 0.9rem;
}

/* ========= SMALL SCREEN TWEAKS ========= */
@media (max-width: 480px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-login {
    margin-top: 0.5rem;
  }
}
