@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;700;800&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
  --bg: #f1f6ff;
  --ink: #111b2f;
  --muted: #49597a;
  --surface: #ffffff;
  --line: #d4dff3;
  --brand: #1746a2;
  --brand-strong: #0f2f74;
  --gold: #b7872b;
  --accent-soft: #ebf2ff;
  --glow: rgba(23, 70, 162, 0.18);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur-med: 420ms;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Manrope", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 83% 9%, #d8e7ff 0%, transparent 36%),
    radial-gradient(circle at 8% 14%, #f3e4c8 0%, transparent 30%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -1000px;
  top: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.5rem 0.8rem;
  background: var(--brand);
  color: #fff;
  border-radius: 999px;
}

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

.nav-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--brand-strong);
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--brand-strong);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
}

.site-nav a[aria-current="page"] {
  background: var(--brand);
  color: #fff;
}

.main-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #ffffff 0%, #edf3ff 45%, #ffffff 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 38px -26px var(--glow);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  position: relative;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -45% auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(183, 135, 43, 0.14), transparent 65%);
  pointer-events: none;
}

.kicker {
  display: inline-block;
  margin-bottom: 0.62rem;
  border: 1px solid #b8ccf4;
  background: #f6f9ff;
  border-radius: 999px;
  color: var(--brand-strong);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  padding: 0.2rem 0.52rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.05rem, 4.8vw, 3.25rem);
  color: #10244d;
}

h2 {
  margin: 0 0 0.52rem;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  color: #122b59;
}

h3 {
  margin: 0 0 0.38rem;
  font-size: 1.02rem;
  color: #102a53;
}

.hero p,
.section p,
.section li {
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.62rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.56rem 0.94rem;
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid var(--brand);
  text-decoration: none;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.button.primary {
  background: var(--brand);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--brand-strong);
  border-color: #bfd0f0;
}

.button:hover {
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -18px var(--glow);
}

.button.primary:hover {
  background: var(--brand-strong);
}

.button.secondary:hover {
  background: #eef4ff;
}

.section {
  margin-top: 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: 0 14px 28px -30px rgba(17, 27, 47, 0.35);
}

.section-intro {
  margin: 0;
}


.section p,
.section li {
  max-width: 72ch;
}

.section ul,
.section ol {
  margin: 0.45rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.32rem;
}

.prose-block {
  display: grid;
  gap: 0.62rem;
}

.prose-block p {
  margin: 0;
}

.long-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.82rem;
  margin-top: 0.78rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #ffffff 0%, #f7faff 100%);
  box-shadow: 0 14px 28px -28px var(--glow);
  padding: 0.9rem;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -28px rgba(23, 70, 162, 0.28);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.48rem;
  border: 1px solid #c7d8f4;
  border-radius: 999px;
  color: var(--brand-strong);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
  padding: 0.12rem 0.42rem;
}

.meta-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
}

.meta-list li {
  color: #2f4269;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.85rem;
}

.anchor-nav a {
  border: 1px solid #c7d7f4;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.28rem 0.55rem;
}

.notice {
  border-left: 4px solid var(--gold);
  background: #fff7eb;
  color: #3c3426;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.68rem 0.85rem;
  font-weight: 600;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.64rem;
  margin-top: 0.72rem;
}

.stat {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.78rem;
  background: #fff;
}

.stat .value {
  margin: 0;
  color: var(--brand-strong);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.46rem;
}

.stat .label {
  margin: 0.12rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.table-like {
  display: grid;
  gap: 0.62rem;
}

.table-row {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.78rem 0.92rem;
  background: #fff;
}

.breadcrumb {
  margin: 0 0 0.7rem;
  font-size: 0.82rem;
  color: #4f6289;
}

.breadcrumb a {
  color: #365995;
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 2.1rem;
  background: rgba(255, 255, 255, 0.75);
}

.footer-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem 1rem 1.85rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.footer h3 {
  font-size: 0.86rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #2f4e82;
}

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

.footer li,
.footer p {
  margin: 0;
  color: #5a6a8c;
  font-size: 0.82rem;
}

.footer a {
  color: #3a5f9f;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 0.4rem;
  border-top: 1px solid #e0e8f7;
}

.legal-article p,
.legal-article li {
  font-size: 0.94rem;
}

.main-shell > * {
  animation: rise var(--dur-med) var(--ease) both;
}

.main-shell > *:nth-child(2) { animation-delay: 70ms; }
.main-shell > *:nth-child(3) { animation-delay: 120ms; }
.main-shell > *:nth-child(4) { animation-delay: 160ms; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-shell > *,
  .card,
  .button {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .split {
    grid-template-columns: 1fr;
  }

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

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

  .long-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
  }

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

  .card-grid,
  .trust-grid,
  .long-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

