@charset "utf-8";
/* ==========================================================================
   Page: Top (index.php)
   ========================================================================== */

/* Hero
   ----------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
  padding: 72px 0 90px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: 48px;
  margin-bottom: 22px;
}

.hero__text {
  font-size: 17px;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__login {
  font-size: 14px;
  color: var(--body);
}

.hero__login span {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.hero__media {
  position: relative;
  min-height: 460px;
}

.hero__dots {
  position: absolute;
  top: 10px;
  right: 40px;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(circle, var(--blue) 2px, transparent 2px);
  background-size: 14px 14px;
  opacity: 0.35;
}

.hero__photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

.hero__photo--a {
  height: 520px; /* was the HTML height attr; base.css sets img height:auto */
  width: 68%;
  position: relative;
  z-index: 2;
}

.hero__photo--b {
  height: 360px; /* was the HTML height attr; base.css sets img height:auto */
  width: 48%;
  position: absolute;
  right: 0;
  bottom: 20px;
  z-index: 1;
  border: 6px solid #fff;
}

.hero__card {
  position: absolute;
  left: 0;
  bottom: 40px;
  z-index: 3;
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
}

.hero__card-icon {
  background: var(--blue);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.hero__card p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
}

/* Eyebrow label
   ----------------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.3px;
  margin-bottom: 18px;
  text-transform: uppercase;
}

/* Feature strip
   ----------------------------------------------------------------- */
.feature-strip {
  background: #eef5fc;
  color: #fff;
  padding: 44px 0;
}

.feature-strip__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item__icon {
  font-size: 30px;
  background: rgba(255,255,255,0.12);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item h3 {
  color: #2759b8;
  font-size: 17px;
  margin-bottom: 4px;
}

.feature-item p {
  color: var(--body);
  font-size: 14px;
  margin: 0;
}

/* Stats
   ----------------------------------------------------------------- */
.stats {
  background: var(--blue-light);
  padding: 56px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item__num {
  font-size: 32px;
  font-weight: 800;
  color: var(--blue);
}

.stat-item__label {
  font-size: 14px;
  color: var(--body);
  font-weight: 600;
  margin-top: 4px;
}

/* About (results)
   ----------------------------------------------------------------- */
.results {
  padding: 100px 0;
}

.results__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.results__text .section-title {
  font-size: 32px;
}

.results__text .section-title .accent {
  font-family: "Noto Serif Display", serif;
}

.checklist {
  margin-top: 24px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-weight: 600;
  color: var(--heading);
}

.check-icon {
  background: var(--blue);
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.results__media {
  position: relative;
}

.results__media img {
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.results__shape {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 70%;
  height: 60%;
  background: var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.85;
  z-index: 1;
}

.results__shape::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 90px;
  height: 90px;
  background: var(--blue);
  border-radius: 50%;
}

.results__text .eyebrow {
  display: inline-block;
  margin-bottom: 10px;
}

.results__subhead {
  font-size: 19px;
  margin: 26px 0 12px;
}

.results__btn {
  margin-top: 8px;
}

/* ==========================================================================
   Responsive (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  /* Hero
     ----------------------------------------------------------------- */
  .hero__title {
    font-size: 40px;
  }
}

/* ==========================================================================
   Responsive (max-width: 860px)
   ========================================================================== */
@media (max-width: 860px) {
  /* Hero
     ----------------------------------------------------------------- */
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: 380px;
    margin-top: 20px;
  }

  /* About (results)
     ----------------------------------------------------------------- */
  .results__inner {
    grid-template-columns: 1fr;
  }

  .results__media {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  /* Feature strip
     ----------------------------------------------------------------- */
  .feature-strip__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Stats
     ----------------------------------------------------------------- */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Responsive (max-width: 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Hero
     ----------------------------------------------------------------- */
  .hero__title {
    font-size: 32px;
  }

  /* Stats
     ----------------------------------------------------------------- */
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
}
