*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background-color: #f8fdff;
  background-image: linear-gradient(180deg, #eef6ff 0%, #f8fdff 100%);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.link.subtle {
  font-size: 0.85rem;
  color: #6b7280;
}

.link.subtle:hover {
  color: #111827;
}

.btn {
  border-radius: 999px;
  border: none;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-outline {
  background: transparent;
  color: #111827;
  border: 1px solid #d1d5db;
}

.btn-outline:hover {
  background: #f3f4f6;
}

.hero {
  padding: 3.5rem 0 2.75rem;
  background: #003479;
  border-bottom: 1px solid #e5e7eb;
}

.hero-inner {
  max-width: 1120px;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e5e7eb;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: 2.3rem;
  line-height: 1.2;
  margin: 0 0 0.9rem;
  color: #f9fafb;
}

.hero-subtitle {
  font-size: 1rem;
  color: #e5e7eb;
  max-width: 36rem;
}

.grid-section {
  padding: 2.25rem 0 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1rem;
  padding: 1.75rem 1.6rem;
  border: 1px solid #e5e7eb;
  background-image: linear-gradient(140deg, #E6F9FF 0%, #E5E6FF 100%);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

a.card:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

.card > .text-link {
  margin-top: auto;
  align-self: flex-start;
  color: #003479;
}

.card > .text-link:hover {
  color: #002a61;
}

.card h2 {
  font-family: "Lato", sans-serif;
  font-size: 32px;
  font-weight: 500;
  margin: 0 0 0.6rem;
  color: #003479;
}

.card-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.75rem;
}

.card-icon {
  display: flex;
  align-items: center;
  color: #003479;
}

.card-icon svg {
  width: 56px;
  height: 56px;
}

.card-icon svg path {
  stroke-width: 1.5;
}

.card p {
  font-size: 0.95rem;
  color: #003479;
  margin: 0 0 1rem;
}

.card-accent {
  border-color: #e5e7eb;
}

.card-muted {
  border-color: #e5e7eb;
}

@media (prefers-reduced-motion: reduce) {
  .card {
    transition: none;
  }

  .card:hover {
    transform: none;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.75rem;
  padding: 0.15rem 0.7rem;
  font-weight: 500;
}

.badge-soft {
  background: #e5e7eb;
  color: #4b5563;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #2563eb;
  font-weight: 500;
}

.text-link::after {
  content: "→";
  font-size: 0.9em;
}

.text-link:hover {
  color: #1d4ed8;
}

.content-section {
  padding: 1.5rem 0 3.25rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: flex-start;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin: 0;
  font-size: 1.4rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.list-item {
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tag {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #6b7280;
  margin: 0 0 0.4rem;
}

.list-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin: 0 0 0.35rem;
}

.excerpt {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0;
}

/* Footer — aligned with axiumacademic.com/resources/ (Elementor footer) */
.site-footer {
  --footer-bg: #f8fdff;
  --footer-panel: #e7f6fc;
  --footer-primary: #003479;
  --footer-heading: #a677fa;
  --footer-cta: #f56d07;
  --footer-cta-text: #ffffff;
  --footer-input-border: #abc0de;
  --footer-input-bg: rgba(255, 255, 255, 0.45);
  --footer-link-hover: #f56d07;

  flex-shrink: 0;
  background: var(--footer-bg);
  color: var(--footer-primary);
  font-size: 0.9rem;
}

.footer-surface {
  padding: 2rem 0 1.5rem;
}

.footer-wrap {
  max-width: 1120px;
}

.footer-panel {
  background: var(--footer-panel);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
  min-height: min(475px, auto);
}

.footer-panel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
  align-items: flex-start;
}

.footer-col--brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem;
  min-height: 100%;
}

.footer-logo-link {
  display: block;
  line-height: 0;
}

.footer-logo-img {
  width: min(100%, 200px);
  height: auto;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--footer-primary);
  color: var(--footer-primary);
  background: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--footer-cta);
  border-color: transparent;
  color: var(--footer-cta-text);
}

.footer-heading {
  margin: 0 0 0.5rem;
  font-family: "Open Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--footer-heading);
  line-height: 1.3;
}

.footer-heading--spaced {
  margin-top: 1.25rem;
}

.footer-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 5px;
}

.footer-links-list a {
  font-family: "Lato", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--footer-primary);
  text-decoration: none;
}

.footer-links-list a:hover,
.footer-links-list a:focus-visible {
  color: var(--footer-link-hover);
}

.footer-col--cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: flex-start;
}

.footer-newsletter-title {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--footer-primary);
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.footer-newsletter-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: var(--footer-primary);
  background: var(--footer-input-bg);
  border: 1px solid var(--footer-input-border);
  border-radius: 6px;
}

.footer-newsletter-input::placeholder {
  color: rgba(0, 52, 121, 0.55);
}

.footer-newsletter-input:focus-visible {
  outline: 2px solid var(--footer-primary);
  outline-offset: 1px;
}

.footer-newsletter-submit {
  width: 100%;
  padding: 0.65rem 1rem;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--footer-primary);
  background: transparent;
  border: 1px solid var(--footer-primary);
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.footer-newsletter-submit:hover,
.footer-newsletter-submit:focus-visible {
  background: var(--footer-primary);
  color: #ffffff;
  border-color: var(--footer-primary);
}

.footer-bottom-bar {
  background: var(--footer-bg);
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(0, 52, 121, 0.08);
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1120px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer-hs-logo {
  width: min(280px, 75vw);
  height: auto;
}

.footer-copy {
  margin: 0;
  font-family: "Lato", sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--footer-primary);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem 1.5rem;
}

.footer-legal a {
  font-family: "Lato", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--footer-primary);
  text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
  color: var(--footer-link-hover);
}

@media (max-width: 960px) {
  .hero {
    padding: 2.75rem 0 2.25rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .two-column {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }

  .footer-panel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-col--brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

}

@media (max-width: 640px) {
  .footer-panel-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-col--brand {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

