/* Base Layout */
.ac-container {
  max-width: var(--layout-max-width);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

/* Header Section */
.ac-resource-header {
  padding: 30px 0;
  background-color: #FFFFFF;
}

.ac-brand-logo {
  height: 50px;
  width: auto;
  display: block;
}

/* Hero Section */
.ac-resource-hero {
  padding: 80px 0;
  background-color: #E2EEF4;
}

.ac-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

.ac-hero-h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  line-height: 1.1;
  color: #03213D;
  margin: 0 0 16px 0;
  font-weight: 700;
}

.ac-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #03213D;
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ac-hero-copy {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: #03213D;
}

.ac-hero-copy p {
  margin-bottom: 20px;
}

.ac-hero-copy strong {
  font-weight: 700;
}

/* Form Column */
.ac-hero-form-wrapper {
  background-color: #03213D;
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.ac-form-container.is-loaded {
  background: #f3f7fa;
  border-radius: 12px;
  padding: 0;
}

.ac-form-h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  color: #FFFFFF;
  margin: 1em 0 24px;
  text-align: center;
}

.ac-hubspot-gated-content {
  text-align: center;
  padding: 20px;
  border: 1px dashed #54ABDF;
  border-radius: 8px;
}

.ac-hubspot-gated-content[hidden],
.ac-hubspot-form-target[hidden] {
  display: none !important;
}

.ac-gated-text {
  color: #FFFFFF;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 20px;
}

.ac-cta-button {
  display: inline-block;
  background-color: #FF8A3D;
  color: #03213D;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ac-cta-button:hover {
  background-color: #FF7A2F;
  transform: translateY(-2px);
}

.ac-form-container.is-loaded .ac-form-h3 {
  color: #03213D;
  padding: 32px 32px 0;
}

.ac-hubspot-form-target {
  padding: 0 32px 32px;
}

.ac-hubspot-form-target .hbspt-form {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px 20px 8px;
}

.ac-hubspot-form-target input,
.ac-hubspot-form-target select,
.ac-hubspot-form-target textarea {
  border-radius: 10px !important;
  border: 1px solid #c7d6e2 !important;
  min-height: 48px;
}

.ac-hubspot-form-target textarea {
  min-height: 120px;
}

.ac-hubspot-form-target .hs-button {
  width: 100%;
  min-height: 54px;
  border: none !important;
  border-radius: 999px !important;
  background: #FF8A3D !important;
  color: #03213D !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* Footer Section */
.ac-resource-footer {
  background-color: #03213D;
  padding: 60px 0;
}

.ac-footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.ac-copyright {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  color: #FFFFFF;
  margin: 0;
  opacity: 0.8;
}

.ac-footer-link {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #54ABDF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ac-footer-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .ac-hero-h1 {
    font-size: 40px;
  }
  .ac-hero-form-wrapper {
    padding: 32px;
  }
}

@media (max-width: 900px) {
  .ac-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ac-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: center;
  }
  .ac-resource-hero {
    padding: 60px 0;
  }
}

@media (max-width: 640px) {
  .ac-hero-h1 {
    font-size: 32px;
  }
  .ac-resource-header {
    padding: 20px 0;
  }
  .ac-brand-logo {
    height: 40px;
  }
  .ac-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .ac-hero-form-wrapper {
    padding: 24px 16px;
  }

  .ac-hubspot-form-target {
    padding: 0 16px 16px;
  }
}
