:root {
  --navy: #0A2E73;
  --orange: #F58220;
  --ink: #1F2937;
  --muted: #6B7280;
  --line: #E5E7EB;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  padding: 0.5rem 0.75rem;
}

.skip-link:focus { top: 0.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header-bar {
  width: min(72rem, calc(100% - 3rem));
  height: 4rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cc-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
}

.cc-logo {
  display: block;
  width: auto;
  height: 32px;
  object-fit: contain;
}

.cc-brand-name {
  color: var(--navy);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  flex-shrink: 0;
}

.site-nav a { white-space: nowrap; }

.nav-link {
  position: relative;
  color: var(--navy);
  font-size: 0.875rem;
  text-decoration: none;
  opacity: 0.82;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.28s var(--ease);
}

.nav-link:hover { opacity: 1; }
.nav-link:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: var(--navy);
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.btn-signin {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(10, 46, 115, 0.1);
}

.site-nav-toggle {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--navy);
}

.site-nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1px;
  margin: 0.35rem auto;
  background: var(--navy);
}

.site-nav-panel {
  display: block;
  padding: 0 1.5rem 1.25rem;
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-nav-panel[hidden] { display: none; }

.site-nav-panel a {
  display: block;
  padding: 0.75rem 0;
  color: var(--navy);
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.site-nav-panel .btn {
  margin-top: 1rem;
  border-bottom: 0;
}

@media (min-width: 960px) {
  .site-nav { display: flex; }
  .site-nav-toggle,
  .site-nav-panel { display: none !important; }
}

.legal-doc {
  width: min(820px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 3.5rem 0 4.5rem;
}

.legal-kicker {
  margin: 0;
  color: var(--orange);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-kicker a {
  color: inherit;
  text-decoration: none;
}

.legal-kicker a:hover { color: var(--navy); }

.legal-doc > h1 {
  margin: 0.65rem 0 0;
  color: var(--navy);
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.legal-body {
  margin-top: 2rem;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.legal-body h1,
.legal-body h2,
.legal-body h3 {
  color: var(--navy) !important;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.legal-body h1,
.legal-body h2 {
  margin: 2rem 0 0.55rem;
  font-size: 1.35rem;
}

.legal-body h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
}

.legal-body p,
.legal-body li {
  color: var(--ink) !important;
  overflow-wrap: anywhere;
}

.legal-body p { margin: 0.75rem 0; }

.legal-body ul,
.legal-body ol {
  margin: 0.75rem 0;
  padding-left: 1.25rem;
}

.legal-body li { margin: 0.35rem 0; }

.legal-body a {
  color: var(--navy) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body hr {
  margin: 1.75rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.legal-doc-support .legal-body h2 {
  margin-top: 2.25rem;
  padding-top: 0.35rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: #071F4A;
  color: #fff;
  line-height: 1.6;
}

.site-footer::before {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, rgba(234, 243, 255, 0.55) 0%, rgba(245, 130, 32, 0.7) 12%, rgba(234, 243, 255, 0.18) 36%, transparent 70%);
}

.site-footer-mark {
  position: absolute;
  right: -90px;
  bottom: -150px;
  width: 420px;
  height: 420px;
  color: rgba(234, 243, 255, 0.11);
  pointer-events: none;
}

.site-footer-main {
  position: relative;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 4.75rem 0 3.75rem;
  display: flex;
  flex-direction: column;
  gap: 2.35rem;
}

.site-footer-brand { max-width: 24rem; }

.site-footer-brand p {
  max-width: 23.5rem;
  margin: 0;
  color: #C8D5EA;
  font-size: 0.98rem;
}

.site-footer-motto {
  margin-top: 1.15rem !important;
  color: #C8D5EA !important;
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.5 !important;
  text-transform: uppercase;
}

.cc-logo-link-footer { margin-bottom: 1.05rem; }
.cc-logo-link-footer .cc-logo { height: 36px; }
.cc-logo-link-footer .cc-brand-name { font-size: 21px; }
.site-footer .cc-brand-name { color: #fff; }

.site-footer-label {
  margin: 0 0 0.95rem;
  color: #C8D5EA;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a { color: #fff; text-decoration: none; }

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  font-size: 0.98rem;
}

.site-footer-support p {
  max-width: 18rem;
  margin: 0.35rem 0 0.9rem;
  color: #C8D5EA;
  font-size: 0.98rem;
}

.site-footer-support-title,
.site-footer-support-go {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
}

.site-footer-support-go span { color: var(--orange); }

.site-footer-support > a:last-child {
  display: inline-block;
  margin-top: 0.7rem;
  color: #C8D5EA;
}

.site-footer-base {
  position: relative;
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding: 1.45rem 0 1.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.55rem 1.5rem;
  color: #C8D5EA;
  font-size: 0.84rem;
}

.site-footer-base p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.site-footer-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--orange);
  outline-offset: 3px;
}

@media (min-width: 960px) {
  .site-footer-main {
    display: grid;
    grid-template-columns: 36% 20% 24% minmax(0, 1fr);
    align-items: start;
    column-gap: 1.75rem;
  }
}

@media (max-width: 767px) {
  .site-header-bar { width: min(72rem, calc(100% - 2rem)); }
  .site-footer-mark { display: none; }
  .site-footer-main { padding: 3.25rem 0 2.5rem; }
  .site-footer a { min-height: 44px; }
  .site-footer-base {
    flex-direction: column;
    align-items: flex-start;
  }
  .legal-doc { padding-top: 2.5rem; }
}
