/* AccessGuard Scanner — homepage styles.
   Scoped with .home (body class) so these only apply to the front page. */

.home .ag-hero {
  padding: clamp(56px, 9vw, 112px) 20px;
  text-align: center;
  background: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 100%);
  margin: 0 auto;
}

.home .ag-hero__headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 800;
  color: #1E293B;
  margin: 0 auto 20px;
  max-width: 20ch;
}

.home .ag-hero__subheadline {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.55;
  color: #475569;
  max-width: 62ch;
  margin: 0 auto 40px;
}

.home .ag-hero .ag-scan-form {
  margin: 0 auto;
}

/* Astra prints a page-title header (.entry-header with .entry-title "Home")
   above the page content. Our hero supplies its own H1, so hide it. */
.home .site-main .entry-header { display: none; }

/* Let homepage sections bleed to the full width of the viewport — Astra
   wraps page content in a max-width wrapper with side padding. */
.home .entry-content { padding: 0 !important; }
.home .ag-hero,
.home .ag-steps,
.home .ag-pour,
.home .ag-deadline,
.home .ag-audience,
.home .ag-cta-banner { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* --- How It Works section --- */
.home .ag-steps {
  padding: clamp(56px, 8vw, 96px) 20px;
  background: #FFFFFF;
}

.home .ag-steps__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home .ag-steps__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.home .ag-steps__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px);
}

.home .ag-steps__item {
  text-align: center;
  padding: 0;
}

.home .ag-steps__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #EFF6FF;
  color: #2563EB;
  margin-bottom: 20px;
}

.home .ag-steps__icon svg {
  width: 36px;
  height: 36px;
}

.home .ag-steps__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 10px;
}

.home .ag-steps__body {
  font-size: 1rem;
  line-height: 1.6;
  color: #475569;
  max-width: 32ch;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .home .ag-steps__grid { grid-template-columns: 1fr; }
}

/* --- What Gets Checked (POUR) section --- */
.home .ag-pour {
  padding: clamp(56px, 8vw, 96px) 20px;
  background: #F8FAFC;
}

.home .ag-pour__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.home .ag-pour__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin: 0 0 12px;
}

.home .ag-pour__lead {
  text-align: center;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  color: #475569;
  max-width: 62ch;
  margin: 0 auto clamp(32px, 5vw, 56px);
}

.home .ag-pour__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.home .ag-pour__card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
}

.home .ag-pour__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #EFF6FF;
  color: #2563EB;
  margin-bottom: 16px;
}

.home .ag-pour__icon svg {
  width: 28px;
  height: 28px;
}

.home .ag-pour__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 8px;
}

.home .ag-pour__body {
  font-size: 0.975rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

@media (max-width: 960px) {
  .home .ag-pour__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .home .ag-pour__grid { grid-template-columns: 1fr; }
}

/* --- Deadline / urgency section --- */
.home .ag-deadline {
  padding: clamp(64px, 9vw, 104px) 20px;
  background: #1E293B;
  color: #F1F5F9;
  text-align: center;
}

.home .ag-deadline__inner {
  max-width: 820px;
  margin: 0 auto;
}

.home .ag-deadline__heading {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 clamp(32px, 5vw, 48px);
  max-width: 22ch;
  margin-left: auto;
  margin-right: auto;
}

.home .ag-deadline__countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 24px;
}

.home .ag-deadline__days {
  font-size: clamp(4rem, 10vw, 6.5rem);
  font-weight: 800;
  color: #F59E0B;
  line-height: 1;
  letter-spacing: -0.02em;
}

.home .ag-deadline__unit {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #CBD5E1;
  font-weight: 500;
  text-align: left;
}

.home .ag-deadline__lead {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.55;
  color: #CBD5E1;
  max-width: 58ch;
  margin: 0 auto clamp(32px, 5vw, 48px);
}

.home .ag-deadline__facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 28px;
  row-gap: 14px;
  max-width: 580px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  text-align: left;
}

.home .ag-deadline__facts dt {
  font-weight: 700;
  color: #F59E0B;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.home .ag-deadline__facts dd {
  margin: 0;
  color: #E2E8F0;
  font-size: 1rem;
  line-height: 1.5;
}

.home .ag-deadline__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #F59E0B;
  color: #1E293B;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.home .ag-deadline__cta:hover,
.home .ag-deadline__cta:focus { background: #FBBF24; color: #1E293B; }

.home .ag-deadline__cta:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.home .ag-deadline__cta svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 560px) {
  .home .ag-deadline__countdown {
    flex-direction: column;
    gap: 4px;
    align-items: center;
  }
  .home .ag-deadline__unit { text-align: center; }
  .home .ag-deadline__facts {
    grid-template-columns: 1fr;
    row-gap: 20px;
    text-align: center;
  }
  .home .ag-deadline__facts dt { padding-top: 0; }
}

/* --- Who It's For section --- */
.home .ag-audience {
  padding: clamp(56px, 8vw, 96px) 20px;
  background: #FFFFFF;
}

.home .ag-audience__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.home .ag-audience__heading {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  font-weight: 700;
  color: #1E293B;
  text-align: center;
  margin: 0 0 clamp(32px, 5vw, 56px);
}

.home .ag-audience__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}

.home .ag-audience__card {
  text-align: left;
  padding: 28px;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  background: #FFFFFF;
}

.home .ag-audience__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #EFF6FF;
  color: #2563EB;
  margin-bottom: 18px;
}

.home .ag-audience__icon svg { width: 26px; height: 26px; }

.home .ag-audience__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 10px;
}

.home .ag-audience__body {
  font-size: 0.975rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

@media (max-width: 900px) {
  .home .ag-audience__grid { grid-template-columns: 1fr; }
}

/* --- CTA banner (end of homepage) --- */
.home .ag-cta-banner {
  padding: clamp(56px, 8vw, 96px) 20px;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  text-align: center;
}

.home .ag-cta-banner__inner {
  max-width: 720px;
  margin: 0 auto;
}

.home .ag-cta-banner__heading {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  line-height: 1.2;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.home .ag-cta-banner__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #DBEAFE;
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.home .ag-cta-banner__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: #FFFFFF;
  color: #1D4ED8;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.1s;
}

.home .ag-cta-banner__button:hover,
.home .ag-cta-banner__button:focus {
  background: #F8FAFC;
  color: #1D4ED8;
}

.home .ag-cta-banner__button:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.home .ag-cta-banner__button svg { width: 20px; height: 20px; }
