:root {
  color-scheme: light;
  --paper: #eef3f8;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-soft: rgba(243, 247, 252, 0.92);
  --border: rgba(57, 88, 131, 0.12);
  --ink: #122133;
  --ink-soft: #536276;
  --ink-faint: #72829b;
  --accent: #2f7ad2;
  --accent-strong: #174d8f;
  --accent-soft: rgba(47, 122, 210, 0.12);
  --shadow-soft: 0 24px 60px rgba(20, 33, 53, 0.12);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --content-width: 1180px;
  --font-display: "SF Pro Display", "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
  --font-body: "Avenir Next", "SF Pro Text", "Segoe UI", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  font-synthesis-weight: none;
  line-height: 1.65;
  background:
    radial-gradient(circle at top center, rgba(47, 122, 210, 0.14), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(141, 184, 236, 0.28), transparent 24%),
    linear-gradient(180deg, #fafcff 0%, #eef3f8 52%, #e7edf4 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(47, 122, 210, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 122, 210, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.24;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--accent-strong);
  color: #fff;
  text-decoration: none;
}

.skip-link:not(:focus):not(:active) {
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.skip-link:focus,
.skip-link:focus-visible {
  clip: auto;
  clip-path: none;
}

.site-shell {
  position: relative;
  isolation: isolate;
  overflow: clip;
}

.site-header-wrap,
.site-footer-wrap {
  padding-inline: 1.2rem;
}

.site-header,
.site-footer,
.page-wrap {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0 0.5rem;
}

.page-wrap {
  display: grid;
  gap: 1.2rem;
  padding: 1.2rem 1rem 4rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2rem;
}

@media (max-width: 960px) {
  .site-header,
  .site-footer {
    display: grid;
    justify-content: stretch;
  }
}

@media (max-width: 720px) {
  .site-header-wrap,
  .site-footer-wrap {
    padding-inline: 0.8rem;
  }

  .page-wrap {
    gap: 1rem;
    padding: 0.8rem 0.8rem 4rem;
  }
}
