:root {
  --bg: #f4f1eb;
  --bg-alt: #e7e0d6;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --text: #1c252f;
  --muted: #5d6874;
  --brand: #ab1f25;
  --brand-dark: #76131b;
  --accent: #113b7a;
  --line: rgba(17, 59, 122, 0.2);
  --shadow: 0 14px 36px rgba(22, 40, 70, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Outfit", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(171, 31, 37, 0.08), transparent 42%),
    radial-gradient(circle at 88% 20%, rgba(17, 59, 122, 0.1), transparent 38%),
    linear-gradient(180deg, var(--bg), var(--bg-alt));
  min-height: 100vh;
  line-height: 1.6;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(244, 241, 235, 0.84);
  border-bottom: 1px solid var(--line);
}

.site-header-row {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-link img {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.site-nav a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--brand);
  border-color: var(--brand);
}

.partner-link img {
  width: 86px;
  height: auto;
  display: block;
}

.hero {
  margin-top: 1.2rem;
  border-radius: 22px;
  background: linear-gradient(130deg, rgba(17, 59, 122, 0.93), rgba(171, 31, 37, 0.88));
  color: #fff;
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  font-family: "Merriweather", Georgia, serif;
}

.hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.93);
  max-width: 70ch;
}

.marquee-replacement {
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.62rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.marquee-replacement a {
  color: #fff;
  font-weight: 700;
}

.marquee-replacement span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.section {
  margin-top: 1.4rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section h2 {
  margin: 0 0 0.7rem;
  color: var(--accent);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  font-family: "Merriweather", Georgia, serif;
}

.section p {
  margin: 0;
  color: var(--text);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  padding: 0.72rem 1.2rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(171, 31, 37, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--brand-dark);
}

.btn-secondary {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.2rem 0;
  text-align: center;
}

@media (max-width: 900px) {
  .site-header-row {
    min-height: 70px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.7rem 0;
  }

  .brand-link img {
    width: 170px;
  }

  .partner-link {
    display: none;
  }
}

@media (max-width: 600px) {
  .page-wrap {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .site-nav {
    gap: 0.6rem;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .brand-link img {
    width: 300px;
  }

  .marquee-replacement {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 16px;
    padding: 0.7rem 0.85rem;
  }

  .marquee-replacement span,
  .marquee-replacement a {
    font-size: 0.92rem;
    line-height: 1.4;
  }
}
