:root {
  --bg: #f4f7fb;
  --bg-soft: #eef3f9;
  --surface: #ffffff;
  --text: #162033;
  --text-soft: #5b6679;
  --text-muted: #7c879a;
  --line: #dfe5ee;
  --accent: #194fba;
  --accent-strong: #123d8f;
  --accent-soft: #edf3ff;
  --shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 980px;
}

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

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Avenir Next", "Segoe UI", ui-sans-serif, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(25, 79, 186, 0.08), transparent 30%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 48%, var(--bg-soft) 100%);
}

a {
  color: var(--accent-strong);
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid rgba(25, 79, 186, 0.22);
  outline-offset: 4px;
}

p,
h1,
h2 {
  margin-top: 0;
}

.site-shell {
  width: min(calc(100% - 1.5rem), var(--max-width));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.header-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
}

.header-links a {
  color: var(--text-soft);
  font-weight: 700;
}

.header-links a[aria-current="page"] {
  color: var(--text);
}

.surface {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.landing-main,
main {
  display: grid;
}

.hero {
  display: grid;
  gap: 1.5rem;
  padding: 1.8rem;
}

.eyebrow {
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero h1,
.legal-page h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.9rem;
}

.lead {
  max-width: 36rem;
  font-size: 1.08rem;
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover,
.legal-card:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(25, 79, 186, 0.22);
}

.button-primary:hover {
  color: #ffffff;
}

.button-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
}

.support-reasons {
  padding: 1.5rem 1.8rem;
}

.support-reasons h2 {
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
  line-height: 1.2;
}

.support-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.support-list li + li {
  margin-top: 0.55rem;
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #18253f 0%, #101827 100%);
  color: #ffffff;
}

.card-label {
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.contact-card h2 {
  margin-bottom: 0.75rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

.contact-email {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: #ffffff;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.legal-card {
  display: block;
  padding: 1.5rem;
  color: inherit;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.legal-card:hover {
  color: inherit;
  border-color: rgba(25, 79, 186, 0.18);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.1);
}

.legal-card h2 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.legal-card p {
  color: var(--text-soft);
}

.card-cta {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--accent-strong);
  font-weight: 800;
}

.legal-page {
  padding: 1.8rem;
}

.last-updated {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-weight: 700;
}

.legal-lead {
  margin-bottom: 1.6rem;
}

.legal-page section + section {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.legal-page h2 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.legal-page p {
  color: var(--text-soft);
}

.site-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--text-soft);
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 700;
  color: var(--text-soft);
}

@media (min-width: 760px) {
  .site-shell {
    width: min(calc(100% - 2.5rem), var(--max-width));
    padding-bottom: 2.5rem;
  }

  .hero,
  .legal-page,
  .support-reasons {
    padding: 2rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.95fr);
    align-items: center;
  }

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

  .lead {
    font-size: 1.14rem;
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-links {
    width: 100%;
  }
}
