:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f7f9ff;
  --ink: #151d2d;
  --muted: #5f6d86;
  --line: #d5dfec;
  --accent: #2e58c9;
  --accent-soft: #eaf0ff;
  --brand: #dd3f57;
  --radius: 16px;
  --shadow: 0 14px 28px rgba(29, 43, 74, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(840px 320px at -6% -18%, #e9efff 0%, transparent 72%),
    radial-gradient(720px 280px at 104% -15%, #ffeef2 0%, transparent 72%),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 56px;
  padding: 8px 18px;
  color: #fff;
  background: #1e2f4a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.site-header-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f6f8ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-header-brand img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.site-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-header-nav a {
  color: #e5ecfb;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-header-link {
  opacity: 0.96;
}

.site-header-nav a:hover {
  color: #ffffff;
}

.site-header-call {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff !important;
  font-weight: 800 !important;
}

.page {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: 30px 22px 72px;
}

.back-link {
  display: inline-block;
  color: #3a4d76;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 14px;
}

.back-link:hover {
  color: #213d76;
  text-decoration: underline;
}

.legal-shell {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-header {
  padding: 28px 30px 20px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(300px 130px at 100% 0%, rgba(46, 88, 201, 0.08) 0%, transparent 72%),
    radial-gradient(260px 120px at 0% 0%, rgba(221, 63, 87, 0.08) 0%, transparent 72%),
    var(--surface-soft);
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
}

h1 {
  margin: 6px 0 4px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content {
  padding: 24px 30px 30px;
}

.section {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 16px 18px;
}

.section + .section {
  margin-top: 10px;
}

h2 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: #273454;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

p + p {
  margin-top: 8px;
}

ul {
  margin: 8px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

li + li {
  margin-top: 5px;
}

strong {
  color: var(--ink);
}

.notice {
  margin-top: 14px;
  border: 1px solid #f3d2d9;
  background: #fff7f8;
  border-radius: 12px;
  padding: 10px 12px;
  color: #7f2b3a;
  font-size: 0.92rem;
}

.footer-links {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #304f8f;
}

.global-site-footer {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 14px;
}

.global-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.global-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #263f71;
  text-decoration: none;
  font-weight: 800;
}

.global-footer-brand img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.global-footer-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
  border-radius: 999px;
  padding: 0 12px;
  background: #1f3460;
  color: #fff;
  font-size: 0.87rem;
  font-weight: 800;
  text-decoration: none;
}

.global-footer-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.global-footer-grid h3 {
  margin: 0 0 6px;
  color: #2a3e66;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 800;
}

.global-footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-footer-grid li {
  margin-top: 6px;
}

.global-footer-grid a {
  color: #5d6d88;
  font-size: 0.9rem;
  text-decoration: none;
}

.global-footer-grid a:hover {
  color: #213f73;
}

@media (max-width: 760px) {
  .site-header {
    padding: 8px 12px;
  }

  .site-header-nav {
    gap: 6px;
  }

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

  .page {
    padding: 22px 12px 52px;
  }

  .legal-header,
  .legal-content {
    padding: 18px;
  }

  .section {
    padding: 14px;
  }

  .global-footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
