:root{
  --page:#eef1f5;
  --paper:#ffffff;
  --paper-2:#f8f9fb;
  --text:#1e2532;
  --muted:#6f7787;
  --muted-2:#8b93a2;
  --line:#e4e8ef;
  --navy:#1d2a42;
  --navy-2:#243551;
  --gold:#c29c60;
  --gold-2:#d7b784;
  --shadow-xl:0 20px 56px rgba(22,31,48,.12);
  --shadow-md:0 10px 24px rgba(22,31,48,.08);
  --width:1100px;
  --title:Georgia, "Times New Roman", serif;
  --ui:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--ui);
  color:var(--text);
  background:
    radial-gradient(circle at top, rgba(255,255,255,.8), transparent 34%),
    linear-gradient(180deg,#edf1f5 0%, #f5f7fa 100%);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

a{
  color:inherit;
  text-decoration:none;
}

img,
svg{
  display:block;
  max-width:100%;
}

button,
input,
select,
textarea{
  font:inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(231,207,170,.92);
  outline-offset:3px;
}

.skip-link{
  position:absolute;
  left:12px;
  top:12px;
  z-index:20;
  padding:10px 14px;
  border-radius:10px;
  background:#fff;
  color:#1d2a42;
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
  transform:translateY(-140%);
  transition:transform .16s ease;
}

.skip-link:focus-visible{
  transform:translateY(0);
}

.container{
  width:min(var(--width), calc(100% - 48px));
  margin-inline:auto;
}

.site-footer{
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff 0%, #fbfcfe 100%);
}

.footer-links{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.footer-links a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid transparent;
  background:transparent;
  color:#5f697a;
  font-size:12px;
  line-height:1.4;
  font-weight:600;
  letter-spacing:.02em;
  transition:color .16s ease, transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.footer-links a:hover{
  color:#2c374c;
  transform:translateY(-1px);
  border-color:#d9dee7;
  background:#fff;
  box-shadow:0 8px 18px rgba(22,31,48,.06);
}

.footer-links a[aria-current="page"]{
  color:#2f3a4e;
  border-color:#d8dde6;
  background:linear-gradient(180deg,#ffffff 0%, #f7f9fc 100%);
  box-shadow:0 8px 18px rgba(22,31,48,.05);
}

.footer-copy{
  color:#8b93a2;
  font-size:12px;
  line-height:1.6;
}

.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0, 0, 0, 0);
  white-space:nowrap;
  border:0;
}

@media (max-width: 640px){
  .container{width:calc(100% - 24px)}
  .footer-links{gap:8px}
  .footer-links a{
    min-height:32px;
    padding:0 10px;
  }
}
