:root {
  --jp-bg: #f3f7fb;
  --jp-surface: rgba(255, 255, 255, 0.92);
  --jp-surface-strong: #ffffff;
  --jp-text: #13233f;
  --jp-text-soft: #4e607d;
  --jp-border: #d9e3ef;
  --jp-primary: #2157b6;
  --jp-primary-dark: #173d80;
  --jp-shadow: 0 18px 44px rgba(21, 40, 74, 0.10);
}

html {
  scroll-behavior: smooth;
}

body.u-body {
  color: var(--jp-text);
  background:
    radial-gradient(circle at top left, rgba(81, 125, 214, 0.14), transparent 32%),
    linear-gradient(180deg, #f6f9fd 0%, #eef4fa 100%);
}

body.u-body h1,
body.u-body h2,
body.u-body h3,
body.u-body h4,
body.u-body h5,
body.u-body h6 {
  color: var(--jp-text);
  letter-spacing: -0.02em;
}

body.u-body p,
body.u-body li,
body.u-body a,
body.u-body span {
  color: inherit;
}

.u-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(217, 227, 239, 0.9);
  box-shadow: 0 8px 30px rgba(19, 35, 63, 0.05);
}

.u-header .u-sheet-1 {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.u-logo.u-image-1 {
  display: none;
}

.u-logo-image.u-logo-image-1 {
  object-fit: cover;
}

.site-nav {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-nav-list {
  list-style: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  color: var(--jp-text);
}

.site-nav-list a:hover {
  color: var(--jp-primary);
  background: rgba(255,255,255,0.75);
}

.mobile-nav-toggle {
  display: none;
  border: 1px solid #d9e3ef;
  background: rgba(255,255,255,0.96);
  color: var(--jp-text);
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 700;
}

.site-mobile-menu {
  display: none;
}

.site-mobile-menu:not([hidden]) {
  display: none;
}

.u-section-1,
.u-section-2,
.u-section-3,
.u-section-4,
.u-section-5 {
  position: relative;
}

.u-section-1 .u-sheet-1,
.u-section-2 .u-sheet-1,
.u-section-3 .u-sheet-1,
.u-section-4 .u-sheet-1,
.u-section-5 .u-sheet-1 {
  width: min(1140px, calc(100% - 40px));
}

.u-list-item,
.u-layout-cell,
.u-image-hero,
.u-image-1 {
  overflow: hidden;
}

.u-list-item,
.u-section-3 .u-layout-cell-2,
.u-section-1 .u-layout-cell-1,
.u-section-1 .u-image-hero,
.u-section-1 .u-image-1,
.u-section-3 .u-layout-cell-1,
.u-section-3 .u-layout-cell-2 {
  border-radius: 24px;
}

.u-list-item,
.u-section-3 .u-layout-cell-2,
.u-section-1 .u-layout-cell-1 {
  background: var(--jp-surface);
  border: 1px solid var(--jp-border);
  box-shadow: var(--jp-shadow);
}

.u-btn {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.u-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(33, 87, 182, 0.18);
}

.u-palette-1-base,
.u-btn.u-palette-1-base {
  background-color: var(--jp-primary) !important;
  color: #ffffff !important;
}

.u-btn:not(.u-palette-1-base) {
  color: var(--jp-text) !important;
}

.u-text a {
  color: var(--jp-primary);
}

.u-footer {
  min-height: 40px;
  background: transparent;
}

@media (max-width: 767px) {
  .u-header .u-sheet-1 {
    min-height: 72px;
  }

  .site-nav {
    justify-content: center;
  }

  .site-nav-list {
    display: none;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-mobile-menu:not([hidden]) {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: min(320px, calc(100vw - 24px));
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    background: #13233f;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    z-index: 120;
  }

  .site-mobile-menu,
  .site-mobile-menu * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }

  .site-mobile-menu a,
  .site-mobile-menu a:visited,
  .site-mobile-menu a:hover,
  .site-mobile-menu a:active,
  .site-mobile-menu a:focus {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(255,255,255,0.12) !important;
    text-decoration: none;
    font-weight: 700;
    text-align: left;
    opacity: 1 !important;
  }

  .site-mobile-menu a:hover,
  .site-mobile-menu a:focus {
    background: rgba(255,255,255,0.18) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }

  .u-section-1 .u-sheet-1,
  .u-section-2 .u-sheet-1,
  .u-section-3 .u-sheet-1,
  .u-section-4 .u-sheet-1,
  .u-section-5 .u-sheet-1 {
    width: min(100%, calc(100% - 24px));
  }
}
