@font-face {
  font-family: "BA Serif";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond/CormorantGaramond-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "BA Serif";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond/CormorantGaramond-Italic.woff2") format("woff2");
}

@font-face {
  font-family: "BA Sans";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/source-sans-3/SourceSans3-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "BA Sans";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/source-sans-3/SourceSans3-Italic.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter/Inter-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter/Inter-Bold.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/inter/Inter-ExtraBold.woff2") format("woff2");
}

:root {
  --ba-ink: #172033;
  --ba-ink-soft: #2d3a4f;
  --ba-muted: #667085;
  --ba-line: #d9dee8;
  --ba-paper: #fbfaf6;
  --ba-card: #ffffff;
  --ba-green: #1f7a64;
  --ba-green-dark: #135c4a;
  --ba-gold: #d6a84f;
  --ba-blue: #254f73;
  --ba-shadow: 0 22px 70px rgba(23, 32, 51, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ba-paper);
  color: var(--ba-ink);
}

a {
  color: inherit;
}

.ba-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ba-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(217, 222, 232, 0.9);
  backdrop-filter: blur(12px);
}

.ba-topbar-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ba-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ba-ink);
}

.ba-logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-grid;
  place-items: center;
  background: var(--ba-green);
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1;
}

.ba-topbar-note {
  font-size: 0.82rem;
  color: var(--ba-muted);
  text-align: right;
}

.ba-footer {
  background: #121a2a;
  color: #dfe5ef;
  padding: 32px 0;
}

.ba-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ba-footer-brand {
  font-weight: 800;
  color: #ffffff;
}

.ba-footer-copy,
.ba-footer-note {
  margin: 0;
  color: #aeb8c8;
  font-size: 0.9rem;
  line-height: 1.55;
}

.ba-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ba-footer-links a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.ba-footer-links a:hover {
  text-decoration: underline;
}

.ba-legal-main,
.ba-hub-main {
  padding: 56px 0 72px;
}

.ba-legal-card,
.ba-hub-card {
  background: var(--ba-card);
  border: 1px solid var(--ba-line);
  border-radius: 12px;
  box-shadow: var(--ba-shadow);
  padding: clamp(24px, 4vw, 44px);
}

.ba-legal-kicker,
.ba-hub-kicker {
  margin: 0 0 10px;
  color: var(--ba-green);
  font-weight: 800;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ba-legal-card h1,
.ba-hub-card h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.ba-legal-card h2 {
  margin: 34px 0 12px;
  font-size: 1.25rem;
}

.ba-legal-card h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
}

.ba-legal-card p,
.ba-legal-card li,
.ba-hub-card p {
  color: var(--ba-ink-soft);
  line-height: 1.7;
}

.ba-legal-card a,
.ba-hub-card a {
  color: var(--ba-green-dark);
  font-weight: 700;
}

.ba-legal-block {
  background: #f4f6f2;
  border-left: 4px solid var(--ba-green);
  border-radius: 10px;
  padding: 18px;
  margin: 22px 0;
}

.ba-hub-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.ba-hub-link {
  display: block;
  padding: 18px;
  border: 1px solid var(--ba-line);
  border-radius: 10px;
  text-decoration: none;
  background: #ffffff;
}

.ba-hub-link strong {
  display: block;
  margin-bottom: 6px;
}

@media (min-width: 760px) {
  .ba-footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .ba-topbar-note {
    display: none;
  }
}
