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

:root {
  --primary-color: #f38020;
  --secondary-color: #2c3e50;
  --accent-color: #3498db;
  --success-color: #2ecc71;
  --background-color: #f5f7fa;
  --card-background: #ffffff;
  --text-color: #333333;
  --text-light: #666666;
  --border-color: #e1e8ed;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  font-weight: 300;
}

/* Main Content */
main {
  padding: 40px 20px;
}

.info-card {
  background: var(--card-background);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.info-card h2 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 1.8rem;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 10px;
}

.info-card p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Badge */
.badge-container {
  margin-top: 20px;
}

.badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.badge:hover {
  background-color: var(--secondary-color);
  transform: scale(1.05);
}

/* Status Grid */
.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.status-item {
  display: flex;
  align-items: flex-start;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: 8px;
  border: 2px solid var(--border-color);
  transition: border-color 0.3s ease;
}

.status-item:hover {
  border-color: var(--accent-color);
}

.status-icon {
  font-size: 2.5rem;
  margin-right: 15px;
}

.status-content h3 {
  color: var(--secondary-color);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.status-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Features List */
.features-list {
  list-style: none;
  padding-left: 0;
}

.features-list li {
  padding: 12px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-color);
}

.features-list li:last-child {
  border-bottom: none;
}

.features-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.resource-link {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-color);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
}

.resource-link:hover {
  border-color: var(--accent-color);
  background-color: white;
  transform: translateY(-2px);
}

.resource-link strong {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.resource-link span {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Footer (legacy) */
footer:not(.site-footer) {
  background-color: var(--secondary-color);
  color: white;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

footer:not(.site-footer) p {
  margin-bottom: 5px;
}

footer:not(.site-footer) .footer-note {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Footer (template-aligned) */
.site-footer {
  background-color: #000;
  color: #fff;
  margin-top: 40px;
}

.site-footer a {
  color: inherit;
}

.site-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.site-footer__column {
  padding: 0;
}

.site-footer__heading {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.site-footer__subheading {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 24px 0 12px;
}

.site-footer__endorsements {
  display: grid;
  gap: 14px;
}

.site-footer__seal img {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
}

.site-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  border: 2px solid var(--accent-color);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.site-footer__cta:hover {
  border-color: transparent;
  background-color: rgba(52, 152, 219, 0.15);
}

@supports (background-color: color-mix(in srgb, #000 0%, transparent)) {
  .site-footer__cta:hover {
    background-color: color-mix(in srgb, var(--accent-color) 15%, transparent);
  }
}

.site-footer__cta-arrow {
  font-size: 1.25rem;
  color: var(--accent-color);
}

.site-footer__ein {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 6px 0 0;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__social a {
  text-decoration: none;
  opacity: 0.95;
}

.site-footer__social a:hover {
  color: var(--primary-color);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.site-footer__list a {
  text-decoration: none;
  font-weight: 600;
  opacity: 0.95;
  transition:
    color 0.2s ease,
    letter-spacing 0.2s ease;
}

.site-footer__list a:hover {
  color: var(--primary-color);
  letter-spacing: 0.02em;
}

.site-footer__policy {
  margin-top: 10px;
}

.site-footer__contact {
  display: grid;
  gap: 14px;
}

.site-footer__contact-item {
  display: grid;
  gap: 4px;
}

.site-footer__contact-label {
  font-size: 1.1rem;
  font-weight: 700;
}

.site-footer__address {
  display: block;
  text-decoration: none;
  opacity: 0.95;
}

.site-footer__address:hover {
  color: var(--primary-color);
}

.site-footer__address-text {
  font-weight: 600;
  font-size: 0.95rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 18px 20px;
  text-align: center;
}

.site-footer__bottom p {
  margin: 0;
  font-weight: 600;
}

.site-footer__bottom a {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .info-card {
    padding: 20px;
  }

  .info-card h2 {
    font-size: 1.5rem;
  }

  .status-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__heading,
  .site-footer__subheading {
    font-size: 1.5rem;
  }
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
