@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');@keyframes astroFadeInOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

@keyframes astroFadeIn {
	from {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroFadeOut {
	from {
		opacity: 1;
		mix-blend-mode: plus-lighter;
	}
	to {
		opacity: 0;
		mix-blend-mode: plus-lighter;
	}
}

@keyframes astroSlideFromRight {
	from {
		transform: translateX(100%);
	}
}

@keyframes astroSlideFromLeft {
	from {
		transform: translateX(-100%);
	}
}

@keyframes astroSlideToRight {
	to {
		transform: translateX(100%);
	}
}

@keyframes astroSlideToLeft {
	to {
		transform: translateX(-100%);
	}
}

@media (prefers-reduced-motion) {
	::view-transition-group(*),
	::view-transition-old(*),
	::view-transition-new(*) {
		animation: none !important;
	}

	[data-astro-transition-scope] {
		animation: none !important;
	}
}
.pill[data-astro-cid-4xidn2cs] {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 0;
  border-radius: var(--pill-radius, 24px);
  border: none;
  transition: background-color .25s, box-shadow .25s, transform .2s cubic-bezier(.34, 1.56, .64, 1), opacity .2s;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.pill[data-astro-cid-4xidn2cs][data-no-drag] {
  touch-action: auto;
}

.pill[data-astro-cid-4xidn2cs].is-trigger-hidden {
  opacity: 0;
  pointer-events: none;
  transition: transform .25s cubic-bezier(.34, 1.34, .64, 1), opacity .2s;
  transform: translate(var(--move-x, 0px), var(--move-y, 0px)) scale(var(--scale-x, 1.25), var(--scale-y, 1.25)) !important;
}

.pill[data-astro-cid-4xidn2cs].is-pressed {
  transform: scale(1.08);
}

.pill--dragging[data-astro-cid-4xidn2cs] {
  transition: transform !important;
}

.pill__bg-layer[data-astro-cid-4xidn2cs] {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  overflow: hidden;
  background: var(--pill-bg);
  box-shadow: 0 8px 12px var(--pill-shadow);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}

.pill__bg-layer[data-astro-cid-4xidn2cs]:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 2px;
  background: var(--border-gradient);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pill--primary[data-astro-cid-4xidn2cs] .pill__bg-layer[data-astro-cid-4xidn2cs] {
  background: var(--pill-primary-bg);
}

.pill--flat[data-astro-cid-4xidn2cs] .pill__bg-layer[data-astro-cid-4xidn2cs] {
  box-shadow: 0 2px 6px var(--pill-shadow);
}

.pill--panel[data-astro-cid-4xidn2cs] .pill__bg-layer[data-astro-cid-4xidn2cs] {
  background: var(--pill-bg-panel);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

@media (hover: hover) {
  .pill[data-astro-cid-4xidn2cs]:not(.pill--primary):hover .pill__bg-layer[data-astro-cid-4xidn2cs] {
    background: var(--pill-bg-hover);
  }

  .pill--primary[data-astro-cid-4xidn2cs]:hover .pill__bg-layer[data-astro-cid-4xidn2cs] {
    background: var(--pill-primary-bg-hover);
  }

  .pill--flat[data-astro-cid-4xidn2cs].pill--primary:hover .pill__bg-layer[data-astro-cid-4xidn2cs] {
    background: color-mix(in srgb, var(--color-primary-500) 90%, transparent);
  }
}

.pill[data-astro-cid-4xidn2cs]:not(.pill--primary):active .pill__bg-layer[data-astro-cid-4xidn2cs] {
  background: var(--pill-bg-active);
}

.pill--primary[data-astro-cid-4xidn2cs]:active .pill__bg-layer[data-astro-cid-4xidn2cs] {
  background: var(--pill-primary-bg-active);
}

.pill--flat[data-astro-cid-4xidn2cs].pill--primary:active .pill__bg-layer[data-astro-cid-4xidn2cs] {
  background: var(--pill-primary-bg);
}

.pill--panel[data-astro-cid-4xidn2cs]:not(.pill--primary):hover .pill__bg-layer[data-astro-cid-4xidn2cs] {
  background: var(--pill-bg-panel);
}

.pill--panel[data-astro-cid-4xidn2cs]:not(.pill--primary):active .pill__bg-layer[data-astro-cid-4xidn2cs] {
  background: var(--pill-bg-panel);
}

.pill__glow[data-astro-cid-4xidn2cs] {
  position: absolute;
  z-index: 1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--glow);
  filter: blur(32px);
  -webkit-filter: blur(32px);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: left, top, opacity;
  transition: opacity .3s cubic-bezier(.4, 0, 1, 1);
}

.pill__glow[data-astro-cid-4xidn2cs].is-visible {
  opacity: 1;
  transition: opacity .15s cubic-bezier(.16, .49, 0, .99);
}
.nav-btn[data-astro-cid-kaa7cs4x] {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 6px 24px;
  border-radius: 999px;
  font-family: Sarasa SC, Geist, sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  background: none;
  border: none;
  text-decoration: none;
  transition: background-color .2s, color .2s, opacity .2s;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  cursor: default;
}

@media (hover: hover) {
  .nav-btn[data-astro-cid-kaa7cs4x]:hover {
    background: var(--border-strong);
  }
}

.nav-btn[data-astro-cid-kaa7cs4x]:active {
  opacity: .6;
}

.nav-btn--active[data-astro-cid-kaa7cs4x] {
  background: var(--border);
  color: var(--color-primary-500);
}

.nav-btn__icon[data-astro-cid-kaa7cs4x] {
  display: none;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.nav-btn__icon[data-astro-cid-kaa7cs4x] svg {
  width: 24px;
  height: 24px;
  display: block;
}

.nav-btn--icon-only[data-astro-cid-kaa7cs4x] {
  width: 34px;
  padding: 6px;
  justify-content: center;
}

.nav-btn--icon-only[data-astro-cid-kaa7cs4x] .nav-btn__icon[data-astro-cid-kaa7cs4x] {
  display: inline-flex;
}

.nav-btn__label[data-astro-cid-kaa7cs4x] {
  display: block;
  line-height: 21px;
}

@media (width <= 768px) {
  .nav-btn[data-astro-cid-kaa7cs4x] {
    flex-direction: column;
    padding: clamp(4px, 1.58vw, 6px) clamp(12px, 6.32vw, 24px);
    gap: clamp(4px, 1.58vw, 6px);
    font-size: clamp(8px, 3.16vw, 12px);
    text-align: center;
    flex: 1;
    min-width: 0;
  }

  .nav-btn__label[data-astro-cid-kaa7cs4x] {
    display: block;
    width: 100%;
    max-width: 72px;
    line-height: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-btn__icon[data-astro-cid-kaa7cs4x] {
    display: block;
    width: clamp(17px, 6.32vw, 24px);
    height: clamp(17px, 6.32vw, 24px);
  }

  .nav-btn__icon[data-astro-cid-kaa7cs4x] svg {
    width: clamp(17px, 6.32vw, 24px);
    height: clamp(17px, 6.32vw, 24px);
  }
}

@media (width <= 474px) {
  .nav-btn[data-astro-cid-kaa7cs4x] {
    max-width: 72px;
    min-width: 0;
    width: 100%;
    padding: calc(6px * var(--scale, 1)) calc(24px * var(--scale, 1));
    gap: calc(6px * var(--scale, 1));
    font-size: calc(12px * var(--scale, 1));
  }

  .nav-btn__label[data-astro-cid-kaa7cs4x] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-btn__icon[data-astro-cid-kaa7cs4x] {
    width: calc(24px * var(--scale, 1));
    height: calc(24px * var(--scale, 1));
  }

  .nav-btn__icon[data-astro-cid-kaa7cs4x] svg {
    width: calc(24px * var(--scale, 1));
    height: calc(24px * var(--scale, 1));
  }
}
.btn[data-astro-cid-ekguhzzh] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 40px;
  padding: 0 24px;
  font-family: Sarasa SC, Geist, sans-serif;
  font-weight: 700;
  font-size: 17px;
  background: none;
  border: none;
  text-decoration: none;
  color: var(--text-strong);
  cursor: pointer;
  transition: opacity .2s;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

.pill--primary .btn[data-astro-cid-ekguhzzh] {
  color: #fff;
}

.btn--icon-only[data-astro-cid-ekguhzzh] {
  width: 40px;
  padding: 0;
}

.btn__icon[data-astro-cid-ekguhzzh] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  position: relative;
}

.btn__icon[data-astro-cid-ekguhzzh] svg {
  width: 20px;
  height: 20px;
  display: block;
}

.btn__text[data-astro-cid-ekguhzzh] {
  display: grid;
  place-items: center;
  flex: 0 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn__text[data-astro-cid-ekguhzzh] * {
  min-width: 0;
  max-width: 100%;
}

.btn__text[data-astro-cid-ekguhzzh] > * {
  min-width: 0;
  max-width: 100%;
}

.btn__text[data-astro-cid-ekguhzzh] > [class*="spinner"]:not([hidden]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  overflow: visible;
}

.btn__text[data-astro-cid-ekguhzzh] > *:not([hidden]):not([class*="spinner"]) {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn__text[data-astro-cid-ekguhzzh] [hidden] {
  display: none !important;
}

.btn__text[data-astro-cid-ekguhzzh] [class*="spinner"] svg {
  display: block;
  width: 18px;
  height: 18px;
}
.menu[data-astro-cid-xrc56gie] {
  position: fixed;
  z-index: var(--menu-z-index, 999);
  min-width: max-content;
  display: none;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  transform-origin: var(--origin-x, 100%) var(--origin-y, 0%);
  transition: opacity .3s cubic-bezier(.34, 1.56, .64, 1), transform .35s cubic-bezier(.34, 1.56, .64, 1);
}

.menu[data-astro-cid-xrc56gie].is-open {
  display: inline-flex;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.menu--closing[data-astro-cid-xrc56gie] {
  opacity: 0;
  transform: scale(.85);
  pointer-events: none;
  transition: opacity .15s, transform .15s;
}

.menu__content[data-astro-cid-xrc56gie] {
  max-height: var(--menu-max-height, none);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: inherit;
}

.menu__list[data-astro-cid-xrc56gie] {
  list-style: none;
  margin: 0;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu__separator {
  display: block;
  height: 1px;
  margin: 0 8px;
  background: var(--border);
  flex-shrink: 0;
}

.menu .pill--panel {
  --pill-press-scale: 1.01;
  --pill-drag-scale: .01;
}

.menu__content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.menu__content::-webkit-scrollbar {
  display: none;
}
.menu-item[data-astro-cid-4qjryvuk] {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  gap: 8px;
  font-family: Sarasa SC, Geist, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  background: none;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, opacity .2s;
  user-select: none;
  -webkit-user-drag: none;
  user-drag: none;
  outline: none;
}

@media (hover: hover) {
  .menu-item[data-astro-cid-4qjryvuk]:hover:not(.menu-item--disabled) {
    background: var(--border-strong);
  }
}

.menu-item[data-astro-cid-4qjryvuk]:active:not(.menu-item--disabled) {
  opacity: .6;
}

.menu-item--submenu-open[data-astro-cid-4qjryvuk] {
  background: var(--border-strong);
}

.menu-item--checked[data-astro-cid-4qjryvuk] {
  color: var(--color-primary);
}

.menu-item--checked[data-astro-cid-4qjryvuk] .menu-item__check[data-astro-cid-4qjryvuk] {
  opacity: 1;
}

.menu-item--active[data-astro-cid-4qjryvuk] {
  background: var(--border);
  color: var(--color-primary);
}

.menu-item--disabled[data-astro-cid-4qjryvuk] {
  opacity: .38;
  cursor: default;
  pointer-events: none;
}

.menu-item__icon[data-astro-cid-4qjryvuk] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.menu-item__icon[data-astro-cid-4qjryvuk] svg {
  width: 18px;
  height: 18px;
  display: block;
}

.menu-item__label[data-astro-cid-4qjryvuk] {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
}

.menu-item__check[data-astro-cid-4qjryvuk] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0;
  margin-left: auto;
  transition: opacity .15s;
}

.menu-item__check[data-astro-cid-4qjryvuk] svg {
  width: 16px;
  height: 16px;
  display: block;
}

.menu-item__chevron[data-astro-cid-4qjryvuk] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  opacity: .5;
  margin-left: auto;
}

.menu-item__chevron[data-astro-cid-4qjryvuk] svg {
  width: 14px;
  height: 14px;
  display: block;
}

.menu-item__wrapper[data-astro-cid-4qjryvuk] {
  position: relative;
  list-style: none;
}
.nav-header[data-astro-cid-isef26zo] {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  max-width: 1448px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.nav-pill {
  flex-shrink: 0;
}

.nav-pill--logo-group {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  width: 46px;
  padding: 6px 0;
  gap: 3px;
}

@media (width >= 769px) {
  .nav-pill--logo-group.nav-pill--has-back {
    width: fit-content;
    padding: 6px;
  }
}

.nav-pill__logo-link[data-astro-cid-isef26zo] {
  display: flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  text-decoration: none;
  overflow: hidden;
  -webkit-user-drag: none;
  user-drag: none;
}

.nav-pill__logo-img[data-astro-cid-isef26zo] {
  flex: none;
  width: 40px;
  height: 40px;
  display: block;
  object-fit: contain;
  -webkit-user-drag: none;
  user-drag: none;
}

.nav-pill__logo--light[data-astro-cid-isef26zo] {
  display: var(--logo-light-display);
}

.nav-pill__logo--dark[data-astro-cid-isef26zo] {
  display: var(--logo-dark-display);
}

.nav-pill--nav {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 46px;
  padding: 6px 7px;
  margin-left: auto;
}

@media (width <= 768px) {
  .nav-header[data-astro-cid-isef26zo] {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: none;
    padding: 0 36px 32px;
    gap: 12px;
  }

  .nav-pill {
    --pill-radius: 9999px;
  }

  .nav-pill--logo-group {
    width: 72px;
    height: 72px;
    padding: 0;
    justify-content: center;
  }

  .nav-pill__logo-link[data-astro-cid-isef26zo] {
    width: 72px;
    height: 72px;
  }

  .nav-pill__logo-img[data-astro-cid-isef26zo] {
    width: 48px;
    height: 48px;
  }

  .nav-pill--nav {
    height: 72px;
    padding: 8px 6px;
    gap: 6px;
    justify-content: space-around;
  }
}

@supports (-webkit-touch-callout: none) {
  @media (width <= 768px) {
    .nav-header[data-astro-cid-isef26zo] {
      padding-bottom: 80px;
    }
  }
}

@media (width <= 474px) {
  .nav-header[data-astro-cid-isef26zo] {
    --scale: calc(max(266px, 100vw) / 474px);
    padding: 0 calc(36px * var(--scale)) calc(32px * var(--scale));
    gap: calc(12px * var(--scale));
  }

  .nav-pill--logo-group {
    width: calc(72px * var(--scale));
    height: calc(72px * var(--scale));
  }

  .nav-pill__logo-link[data-astro-cid-isef26zo] {
    width: calc(72px * var(--scale));
    height: calc(72px * var(--scale));
  }

  .nav-pill__logo-img[data-astro-cid-isef26zo] {
    width: calc(48px * var(--scale));
    height: calc(48px * var(--scale));
  }

  .nav-pill--nav {
    height: calc(72px * var(--scale));
    padding: calc(8px * var(--scale)) calc(6px * var(--scale));
    gap: calc(6px * var(--scale));
    flex: 1;
    min-width: 0;
  }
}

.back-btn--desktop:not(.is-visible), .back-btn--mobile:not(.is-visible) {
  display: none !important;
}

.nav-pill__separator[data-astro-cid-isef26zo] {
  display: none;
}

@media (width >= 769px) {
  .back-btn--desktop.is-visible {
    display: flex;
  }

  .back-btn--desktop.is-visible + .nav-pill__separator[data-astro-cid-isef26zo] {
    display: block;
  }

  .back-btn--mobile {
    display: none !important;
  }
}

@media (width <= 768px) {
  .back-btn--mobile.is-visible {
    display: flex;
  }

  .back-btn--desktop, .back-btn--desktop.is-visible, .nav-pill__separator[data-astro-cid-isef26zo] {
    display: none !important;
  }
}

.top-bar[data-astro-cid-isef26zo] {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.toolbar[data-astro-cid-isef26zo] {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}

.menu-anchor[data-astro-cid-isef26zo] {
  position: relative;
}

.user-area[data-astro-cid-isef26zo] {
  position: relative;
  flex-shrink: 1;
  min-width: 0;
  max-width: min(32vw, 220px);
}

.user-area[data-astro-cid-isef26zo] .auth-btn {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.user-area[data-astro-cid-isef26zo] .auth-btn .pill {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.user-area[data-astro-cid-isef26zo] .auth-btn .btn {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 0 16px;
  height: 46px;
  font-size: 15px;
}

.user-area[data-astro-cid-isef26zo] .auth-btn.is-user-btn .btn {
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
}

#user-account-display[data-astro-cid-isef26zo] {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  flex: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#user-menu-dropdown[data-astro-cid-isef26zo] {
  min-width: 150px;
}

@media (width <= 1024px) {
  .user-area[data-astro-cid-isef26zo] {
    max-width: min(28vw, 180px);
  }
}

@media (width <= 768px) {
  .user-area[data-astro-cid-isef26zo] {
    max-width: min(42vw, 150px);
  }

  .user-area[data-astro-cid-isef26zo] .auth-btn .btn {
    height: 46px;
    padding: 0 14px;
    font-size: 14px;
  }
}

@media (width <= 420px) {
  .user-area[data-astro-cid-isef26zo] {
    max-width: min(36vw, 132px);
  }
}

.top-bar[data-astro-cid-isef26zo] .btn {
  height: 46px;
}

.top-bar[data-astro-cid-isef26zo] .btn--icon-only {
  width: 46px;
}

@media (width <= 768px) {
  .top-bar[data-astro-cid-isef26zo] {
    position: fixed;
    top: 20px;
    left: 20px;
    right: 20px;
    z-index: 60;
    justify-content: space-between;
  }

  .toolbar[data-astro-cid-isef26zo] {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 60;
  }
}
.site-footer[data-astro-cid-oenwriqq] {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 14% 0%, color-mix(in srgb, var(--color-primary-300) 30%, transparent), transparent 34%),
      linear-gradient(180deg, var(--bg) 0%, var(--footer-bg) 42%, var(--footer-bg) 100%);
  color: var(--text);
  padding: 72px 24px 124px;
  transition: background .25s, color .25s;
}

:root.dark .site-footer[data-astro-cid-oenwriqq] {
  background: radial-gradient(circle at 16% 0%, #8c7ecd2e, transparent 36%),
      radial-gradient(circle at 86% 18%, #41356338, transparent 34%),
      linear-gradient(180deg, var(--bg) 0%, #151525 44%, #101216 100%);
}

.site-footer[data-astro-cid-oenwriqq]:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(1180px, 100% - 48px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  transform: translateX(-50%);
}

.footer-inner[data-astro-cid-oenwriqq] {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-panel[data-astro-cid-oenwriqq] {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.1fr);
  gap: 56px;
  align-items: start;
}

.footer-brand[data-astro-cid-oenwriqq] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--color-primary) 72%, transparent);
  outline-offset: 6px;
}

.footer-logo[data-astro-cid-oenwriqq] {
  height: 34px;
  width: auto;
}

.footer-logo--light[data-astro-cid-oenwriqq] {
  display: var(--logo-light-display);
}

.footer-logo--dark[data-astro-cid-oenwriqq] {
  display: var(--logo-dark-display);
}

.footer-tagline[data-astro-cid-oenwriqq] {
  max-width: 420px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 600;
}

.footer-nav[data-astro-cid-oenwriqq] {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.footer-link-pill {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  min-height: 76px;
  border-radius: 24px;
  padding: 16px 18px;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  touch-action: none;
}

.footer-link-pill .footer-link__label[data-astro-cid-oenwriqq] {
  color: var(--text-strong);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
}

.footer-link-pill .footer-link__meta[data-astro-cid-oenwriqq] {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 600;
}

.footer-bottom[data-astro-cid-oenwriqq] {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-copy[data-astro-cid-oenwriqq], .footer-note[data-astro-cid-oenwriqq] {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
}

.footer-note[data-astro-cid-oenwriqq] {
  text-align: right;
}

@media (width >= 769px) {
  .site-footer[data-astro-cid-oenwriqq] {
    padding-bottom: 56px;
  }
}

@media (width <= 860px) {
  .footer-panel[data-astro-cid-oenwriqq] {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom[data-astro-cid-oenwriqq] {
    grid-column: auto;
  }
}

@media (width <= 640px) {
  .site-footer[data-astro-cid-oenwriqq] {
    padding: 56px 20px 148px;
    background: radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--color-primary-300) 24%, transparent), transparent 38%),
        linear-gradient(180deg, var(--bg) 0%, var(--footer-bg) 46%, var(--footer-bg) 100%);
  }

  :root.dark .site-footer[data-astro-cid-oenwriqq] {
    background: radial-gradient(circle at 50% 0%, #8c7ecd33, transparent 42%),
        linear-gradient(180deg, var(--bg) 0%, #151525 48%, #101216 100%);
  }

  .site-footer[data-astro-cid-oenwriqq]:before {
    width: calc(100% - 40px);
  }

  .footer-brand[data-astro-cid-oenwriqq] {
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-logo[data-astro-cid-oenwriqq] {
    height: 30px;
  }

  .footer-tagline[data-astro-cid-oenwriqq] {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.7;
  }

  .footer-nav[data-astro-cid-oenwriqq] {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-link-pill {
    min-height: 64px;
    border-radius: 22px;
    padding: 14px 16px;
  }

  .footer-bottom[data-astro-cid-oenwriqq] {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 22px;
    text-align: center;
  }

  .footer-note[data-astro-cid-oenwriqq] {
    text-align: center;
  }
}

@media (width <= 360px) {
  .footer-link-pill .footer-link__meta[data-astro-cid-oenwriqq] {
    font-size: 12px;
  }
}
.modal[data-astro-cid-limcatzk] {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.modal[data-astro-cid-limcatzk].is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__backdrop[data-astro-cid-limcatzk] {
  position: absolute;
  inset: 0;
  background: #10121673;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

:root.dark .modal__backdrop[data-astro-cid-limcatzk] {
  background: #0000008c;
}

.modal__card[data-astro-cid-limcatzk] {
  position: relative;
  z-index: 1;
  width: 380px;
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  border-radius: 24px;
  background: var(--bg-elevated);
  box-shadow: 0 0 0 1px #ffffff0f, 0 20px 60px #0000004d;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal__card[data-astro-cid-limcatzk]:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, #ffffff2e 0%, #fff0 46% 56%, #ffffff2e 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

:root.dark .modal__card[data-astro-cid-limcatzk] {
  background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
  box-shadow: 0 0 0 1px #ffffff0a, 0 24px 72px #00000080;
}

.modal__topbar[data-astro-cid-limcatzk] {
  position: sticky;
  top: 0;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 12px;
  min-height: 48px;
  background: linear-gradient(#0000000f 0%, #0000 100%);
  border-radius: 24px 24px 0 0;
}

:root.dark .modal__topbar[data-astro-cid-limcatzk] {
  background: linear-gradient(#ffffff0f 0%, #0000 100%);
}

.modal__topbar-title[data-astro-cid-limcatzk] {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: Sarasa SC, Geist, sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-strong);
  white-space: nowrap;
  pointer-events: none;
}

.modal__back-wrap[data-astro-cid-limcatzk] {
  display: flex;
  align-items: center;
}

.modal__back-wrap[data-astro-cid-limcatzk][hidden] {
  display: none;
}

.modal__close-wrap[data-astro-cid-limcatzk] {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.modal__content[data-astro-cid-limcatzk] {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 28px 24px;
}
.input-wrap[data-astro-cid-btwdofhb] {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-label[data-astro-cid-btwdofhb] {
  font-family: Sarasa SC, Geist, sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  padding-left: 4px;
  transition: color .2s;
}

.input-field-pill {
  --pill-radius: 24px;
  --pill-press-scale: 1.01;
  --pill-drag-scale: .01;
  display: flex;
  align-items: center;
}

.input-field[data-astro-cid-btwdofhb] {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  background: none;
  border: none;
  border-radius: 14px;
  font-family: Sarasa SC, Geist, sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-strong);
  outline: none;
  box-sizing: border-box;
}

.input-field[data-astro-cid-btwdofhb]::placeholder {
  color: var(--text-muted);
  opacity: .6;
}

.input-field-pill--error {
  box-shadow: 0 0 0 1.5px #dc262673;
  border-radius: 14px;
}

.input-wrap--error[data-astro-cid-btwdofhb]:focus-within .input-field-pill--error {
  box-shadow: 0 0 0 2px #dc26268c;
}

.input-error[data-astro-cid-btwdofhb] {
  margin: 0;
  padding-left: 4px;
  font-family: Sarasa SC, Geist, sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #dc2626;
}

:root.dark .input-field-pill--error {
  box-shadow: 0 0 0 1.5px #ef444480;
}
/* ======== 页面容器 ======== */
  .auth-modal__page {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .auth-modal__page[data-page="0"] {
    gap: 12px;
  }

  /* ======== Logo + 账户头部 ======== */
  .auth-modal__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 8px 0 4px;
  }

  .auth-modal__logo {
    display: block;
    height: 42px;
    width: auto;
    object-fit: contain;
  }

  .auth-modal__logo--light { display: var(--logo-light-display); }
  .auth-modal__logo--dark { display: var(--logo-dark-display); }

  .auth-modal__account-label {
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 600;
    font-size: 22px;
    color: var(--text-strong);
    line-height: 1;
    margin-top: 2px;
  }

  /* ======== 欢迎字幕 ======== */
  .auth-modal__subtitle {
    margin: 0;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
  }

  /* ======== 表单域间距 ======== */
  .auth-modal__field {
    /* Input 组件自带 .input-wrap，此处仅作间距容器 */;
  }

  /* ======== 错误提示 ======== */
  .auth-modal__error {
    margin: 0;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #ef4444;
    text-align: center;
    min-height: 18px;
  }

  /* ======== 操作按钮区 ======== */
  .auth-modal__action {
    margin-top: 4px;
  }

  .auth-modal__next-btn,
  .auth-modal__submit-btn,
  .auth-modal__otp-submit-btn,
  .auth-modal__reset-btn {
    width: 100%;
  }

  /* ======== 切换提示 ======== */
  .auth-modal__switch {
    margin: 6px 0 0;
    text-align: center;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-muted);
  }

  .auth-modal__switch-btn {
    all: unset;
    cursor: pointer;
    color: var(--color-primary-600);
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .auth-modal__switch-btn:hover {
    color: var(--color-primary-500);
  }

  /* ======== Page 1: 邮箱回显 ======== */
  .auth-modal__email-display {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 4px;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-muted);
    word-break: break-all;
  }

  .auth-modal__email-display-icon {
    flex-shrink: 0;
    opacity: 0.6;
  }

  .auth-modal__email-display-text {
    word-break: break-all;
  }

  /* ======== Page 1: 忘记密码链接 ======== */
  .auth-modal__password-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: -8px;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-muted);
  }

  .auth-modal__forgot-link {
    all: unset;
    cursor: pointer;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: var(--color-primary-600);
    transition: color 0.2s ease;
  }

  .auth-modal__forgot-link:hover {
    color: var(--color-primary-500);
  }

  /* ======== Page 5: OTP 验证码页面 ======== */
  .auth-modal__otp-page .auth-modal__field {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-end;
  }

  .auth-modal__otp-page .auth-modal__field .input-wrap {
    flex: 1;
    min-width: 0;
  }

  .auth-modal__otp-page .auth-modal__otp-send-btn {
    flex-shrink: 0;
    white-space: nowrap;
    height: 40px;
    align-self: flex-end;
  }

  /* ======== 提交按钮加载态 ======== */
  .auth-modal__submit-spinner svg {
    animation: auth-spin 0.8s linear infinite;
    display: block;
  }

  @keyframes auth-spin {
    to { transform: rotate(360deg); }
  }

  /* ======== Page 2: 邮件验证提示 ======== */
  .auth-modal__verify-page {
    align-items: center;
    text-align: center;
    padding-top: 16px;
    padding-bottom: 8px;
  }

  .auth-modal__verify-icon {
    color: var(--color-primary-500);
    margin-bottom: 8px;
  }

  .auth-modal__verify-title {
    margin: 0 0 6px;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-strong);
  }

  .auth-modal__verify-desc {
    margin: 0 0 20px;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 280px;
  }

  /* ======== Page 3: 忘记密码 ======== */
  .auth-modal__forgot-icon {
    display: flex;
    justify-content: center;
    color: var(--color-primary-500);
    padding-top: 8px;
    margin-bottom: 4px;
  }

  .auth-modal__forgot-title {
    margin: 0 0 4px;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-strong);
    text-align: center;
  }

  .auth-modal__forgot-desc {
    margin: 0 0 8px;
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.55;
  }

  .is-hidden {
    display: none !important;
  }

  /* ======== 分隔线 ======== */
  .auth-modal__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
  }

  .auth-modal__divider-line {
    flex: 1;
    height: 1px;
    background: var(--border);
  }

  .auth-modal__divider-text {
    font-family: 'Sarasa SC', Geist, sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
  }

  /* ======== GitHub OAuth 按钮 ======== */
  .auth-modal__github-btn {
    width: 100%;
  }

  .auth-modal__github-btn :global(.btn) {
    gap: 10px;
  }

*, ::before, ::after{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop{
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: #e5e7eb; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  tab-size: 4; /* 3 */
  font-family: Geist, ui-sans-serif, system-ui, sans-serif; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* ==============================================
     Light 模式 (默认)
     所有 CSS 变量在此定义，.dark 下按需覆盖
     ============================================== */

:root {
    /* ---------- Primary 色阶 ---------- */
    --color-primary-100: #ede9fc;
    --color-primary-200: #dcd3fa;
    --color-primary-300: #c4b8f0;
    --color-primary-400: #ac9fe1;
    --color-primary-500: #8c7ecd;
    --color-primary-600: #695cb0;
    --color-primary-700: #4b3f93;
    --color-primary-800: #312876;
    --color-primary-900: #1f1862;

    /* ---------- Secondary 色阶 ---------- */
    --color-secondary-100: #ede9fc;
    --color-secondary-200: #efebf7;
    --color-secondary-300: #e9e5f3;
    --color-secondary-400: #cfc5e6;
    --color-secondary-500: #a497c7;
    --color-secondary-600: #3e2d72;
    --color-secondary-700: #3b2c57;
    --color-secondary-800: #201a3b;
    --color-secondary-900: #1a1533;

    /* ---------- Tertiary 色阶 ---------- */
    --color-tertiary-100: #ede9fc;
    --color-tertiary-200: #efeff8;
    --color-tertiary-300: #eaeaf4;
    --color-tertiary-400: #d1d1e8;
    --color-tertiary-500: #aaaacc;
    --color-tertiary-600: #413563;
    --color-tertiary-700: #2f284e;
    --color-tertiary-800: #1d1d3d;
    --color-tertiary-900: #181834;

    /* ---------- Neutral 色阶 ---------- */
    --color-neutral-100: #fbfafb;
    --color-neutral-200: #f5f4f8;
    --color-neutral-300: #f1f0f5;
    --color-neutral-400: #e1dfea;
    --color-neutral-500: #c2bfd0;
    --color-neutral-600: #423c65;
    --color-neutral-700: #322e50;
    --color-neutral-800: #25213e;
    --color-neutral-900: #24232d;

    /* ---------- Brand / General ---------- */
    --color-general-primary: #8c7ecd;
    --color-general-secondary: #aaaacc;
    --color-general-tertiary: #c2a5eb;
    --color-general-neutral: #fbfafb;

    /* ---------- Surface ---------- */
    --color-light: #ffffff;
    --color-dark: #1d1c22;
    --color-surface-dark: #101216;

    /* ---------- Text ---------- */
    --color-text-dark: #ffffff;
    --color-text-light: #000000;

    /* ---------- Logo ---------- */
    --color-logo-light: #1d1c22;
    --color-logo-dark: #ffffff;

    /* ---------- Gradients ---------- */
    --gradient-video-cover: radial-gradient(circle at 39% 0%, rgb(194 165 235) 0%, rgb(170 170 204) 100%);

    /* ---------- 语义化 Token ---------- */
    --bg: #ffffff;
    --bg-elevated: rgba(251, 250, 255, 0.9);
    --bg-muted: #f1f0f5;
    --bg-pill: rgba(251, 250, 255, 1);
    --text: #2b2a33;
    --text-strong: #1d1c22;
    --text-muted: #6b687d;
    --border: rgba(29, 28, 34, 0.08);
    --border-strong: rgba(29, 28, 34, 0.14);
    --shadow: rgba(75, 75, 75, 0.06);
    --glow: rgba(255, 255, 255, 1);
    --color-primary: var(--color-primary-500);
    --border-gradient: linear-gradient(
      135deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, 0) 46%,
      rgba(255, 255, 255, 0) 56%,
      rgba(255, 255, 255, 1) 100%
    );
    --header-mask-top-height: 140px;
    --header-mask-bottom-height: 132px;
    --header-mask-color: rgba(255, 255, 255, 0.9);

    /* ---------- Logo / Icon 显示切换 ---------- */
    --logo-light-display: block;
    --logo-dark-display: none;
    .theme-icon--sun { display: inline-flex; }
    .theme-icon--moon { display: none; }

    /* ---------- Footer ---------- */
    --footer-bg: var(--color-neutral-400);

    /* ---------- 统一 Pill / Button 背景材质 ---------- */
    --pill-highlight: rgba(255, 250, 255, 0.4);
    --pill-bg: rgba(251, 250, 255, 0.4);
    --pill-bg-panel: rgba(251, 250, 255, 0.72);
    --pill-bg-hover: rgba(238, 238, 238, 0.6);
    --pill-bg-active: rgba(221, 221, 221, 0.3);
    --pill-primary-bg: color-mix(in srgb, var(--color-primary-500) 60%, transparent);
    --pill-primary-bg-hover: color-mix(in srgb, var(--color-primary-500) 72%, transparent);
    --pill-primary-bg-active: color-mix(in srgb, var(--color-primary-500) 84%, transparent);
    --pill-shadow: rgba(0, 0, 0, 0.08);

    color-scheme: light;
    font-family: 'Sarasa SC', Geist, ui-sans-serif, system-ui, sans-serif;
    font-weight: 700;
    font-synthesis: none;
    text-rendering: geometricPrecision;
  }

/* ==============================================
     Dark 模式 — 唯一的暗色覆盖入口
     通过 JS 切换 <html>.dark 类触发
     ============================================== */

:root.dark {
    /* Neutral 色阶翻转: 浅阶→深底, 深阶→浅面 */
    --color-neutral-100: #1d1d3d;
    --color-neutral-200: #25213e;
    --color-neutral-300: #322e50;
    --color-neutral-400: #423c65;
    --color-neutral-500: #a39fbf;
    --color-neutral-600: #c2bfd0;
    --color-neutral-700: #e1dfea;
    --color-neutral-800: #f5f4f8;
    --color-neutral-900: #fbfafb;

    /* Primary: 提亮主色以在深底上保持可读 */
    --color-primary-600: #ac9fe1;

    /* Surface: 底色/字色互换 */
    --color-light: #101216;
    --color-dark: #ffffff;
    --color-text-dark: #ffffff;
    --color-logo-light: #ffffff;

    /* 语义 Token */
    --bg: #101216;
    --bg-elevated: rgba(64, 65, 70, 0.5);
    --bg-muted: #25213e;
    --bg-pill: rgba(31, 24, 98, 0.18);
    --glow: rgba(255, 255, 255, 0.58);
    --text: #e7e6f0;
    --text-strong: #ffffff;
    --text-muted: #a39fbf;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.16);
    --shadow: rgba(0, 0, 0, 0.32);
    --color-primary: var(--color-primary-400);
    --border-gradient: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0) 46%,
      rgba(255, 255, 255, 0) 56%,
      rgba(255, 255, 255, 0.22) 100%
    );
    --header-mask-color: rgba(16, 18, 22, 0.9);

    /* Logo / Icon 显示切换 — 暗色反转 */
    --logo-light-display: none;
    --logo-dark-display: block;
    .theme-icon--sun { display: none; }
    .theme-icon--moon { display: inline-flex; }

    /* Footer — 暗色下翻转 */
    --footer-bg: var(--color-neutral-800);

    /* Pill / Button — 暗色下统一使用 neutral-500 @ 30% */
    --pill-bg: rgba(194, 191, 208, 0.3);
    --pill-bg-panel: rgba(72, 70, 78, 0.64);
    --pill-bg-hover: rgba(210, 209, 214, 0.34);
    --pill-bg-active: rgba(210, 209, 214, 0.3);
    --pill-primary-bg: color-mix(in srgb, var(--color-primary-500) 48%, transparent);
    --pill-primary-bg-hover: color-mix(in srgb, var(--color-primary-500) 62%, transparent);
    --pill-primary-bg-active: color-mix(in srgb, var(--color-primary-500) 76%, transparent);
    /* 阴影与亮模式一致 */

    color-scheme: dark;
  }

/* ---------- 全局基础样式 ---------- */

html {
    background: var(--bg);
    color: var(--text);
    transition: background-color 0.25s ease, color 0.25s ease;
  }

::selection {
    background-color: color-mix(in srgb, var(--color-primary-500) 75%, transparent);
  }

body {
    min-height: 100vh;
    margin: 0;
    text-wrap: pretty;
    color: var(--text);
    background: var(--bg);
  }

.site-header-mask {
    position: fixed;
    left: 0;
    right: 0;
    z-index: 48;
    pointer-events: none;
  }

.site-header-mask--top {
    top: 0;
    height: var(--header-mask-top-height);
    background: linear-gradient(
      to bottom,
      var(--header-mask-color) 0%,
      color-mix(in srgb, var(--header-mask-color) 72%, transparent) 38%,
      transparent 100%
    );
  }

.site-header-mask--bottom {
    display: none;
    bottom: 0;
    height: var(--header-mask-bottom-height);
    background: linear-gradient(
      to top,
      var(--header-mask-color) 0%,
      color-mix(in srgb, var(--header-mask-color) 72%, transparent) 38%,
      transparent 100%
    );
  }

@media (max-width: 768px) {
    .site-header-mask--bottom {
      display: block;
    }
  }

.visible{
  visibility: visible;
}

.collapse{
  visibility: collapse;
}

.static{
  position: static;
}

.fixed{
  position: fixed;
}

.absolute{
  position: absolute;
}

.relative{
  position: relative;
}

.sticky{
  position: sticky;
}

.inset-0{
  inset: 0px;
}

.isolate{
  isolation: isolate;
}

.z-10{
  z-index: 10;
}

.mx-auto{
  margin-left: auto;
  margin-right: auto;
}

.mb-\[42px\]{
  margin-bottom: 42px;
}

.mt-10{
  margin-top: 2.5rem;
}

.mt-12{
  margin-top: 3rem;
}

.mt-16{
  margin-top: 4rem;
}

.mt-3{
  margin-top: 0.75rem;
}

.mt-8{
  margin-top: 2rem;
}

.block{
  display: block;
}

.inline{
  display: inline;
}

.flex{
  display: flex;
}

.inline-flex{
  display: inline-flex;
}

.table{
  display: table;
}

.\!grid{
  display: grid !important;
}

.grid{
  display: grid;
}

.contents{
  display: contents;
}

.\!hidden{
  display: none !important;
}

.hidden{
  display: none;
}

.min-h-screen{
  min-height: 100vh;
}

.w-full{
  width: 100%;
}

.max-w-2xl{
  max-width: 42rem;
}

.max-w-6xl{
  max-width: 72rem;
}

.flex-shrink{
  flex-shrink: 1;
}

.shrink-0{
  flex-shrink: 0;
}

.border-collapse{
  border-collapse: collapse;
}

.transform{
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.resize{
  resize: both;
}

.flex-col{
  flex-direction: column;
}

.flex-wrap{
  flex-wrap: wrap;
}

.items-center{
  align-items: center;
}

.justify-end{
  justify-content: flex-end;
}

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

.justify-between{
  justify-content: space-between;
}

.gap-3{
  gap: 0.75rem;
}

.gap-4{
  gap: 1rem;
}

.overflow-hidden{
  overflow: hidden;
}

.overflow-x-auto{
  overflow-x: auto;
}

.text-wrap{
  text-wrap: wrap;
}

.rounded-3xl{
  border-radius: 1.5rem;
}

.border{
  border-width: 1px;
}

.bg-light{
  background-color: var(--color-light);
}

.bg-neutral-300{
  background-color: var(--color-neutral-300);
}

.bg-cover{
  background-size: cover;
}

.bg-center{
  background-position: center;
}

.px-6{
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-\[46px\]{
  padding-left: 46px;
  padding-right: 46px;
}

.py-24{
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pb-28{
  padding-bottom: 7rem;
}

.text-center{
  text-align: center;
}

.font-sans{
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
}

.text-body-large{
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.text-title-large{
  font-size: 40px;
  line-height: 52px;
  font-weight: 700;
}

.font-bold{
  font-weight: 700;
}

.uppercase{
  text-transform: uppercase;
}

.lowercase{
  text-transform: lowercase;
}

.tracking-tight{
  letter-spacing: -0.025em;
}

.text-dark{
  color: var(--color-dark);
}

.text-neutral-600{
  color: var(--color-neutral-600);
}

.outline{
  outline-style: solid;
}

.blur{
  --tw-blur: blur(8px);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.drop-shadow{
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1)) drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.filter{
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-filter{
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}

.transition{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors{
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300{
  transition-duration: 300ms;
}

.ease-in-out{
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==============================================
   iOS 风格 View Transitions 自定义动画
   - 旧页面: scale(1)→(0.96), translateY(0)→8px, opacity 1→0
   - 新页面: 走同样路径的反向 (镜像)
   ============================================== */

@keyframes rinlit-vt-old-out {
  to {
    transform: scale(0.96) translateY(8px);
    opacity: 0;
  }
}

@keyframes rinlit-vt-new-in {
  from {
    transform: scale(0.96) translateY(8px);
    opacity: 0;
  }
}

.page-transition-container {
  transform-origin: center var(--page-transition-origin-y, 50vh);
}

html.is-route-leaving .page-transition-container {
  animation: rinlit-vt-old-out 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

html.is-route-entering .page-transition-container {
  animation: rinlit-vt-new-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) both;
}

::view-transition-old(root) {
  animation: none;
  opacity: 0;
}

::view-transition-new(root) {
  animation: none;
}

/* 尊重"减弱动画"系统偏好 */

@media (prefers-reduced-motion: reduce) {
  html.is-route-leaving .page-transition-container,
  html.is-route-entering .page-transition-container,
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

/* ==============================================
   页面切换进度环
   切换耗时超过阈值才显示，避免快速切换时的闪烁
   ============================================== */

.page-loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}

.page-loader.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0s;
}

.page-loader__ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--text) 12%, transparent);
  border-top-color: var(--color-primary);
  animation: rinlit-loader-spin 0.8s linear infinite;
}

@keyframes rinlit-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-loader__ring {
    animation-duration: 1.6s;
  }
}

@media (min-width: 768px){

  .md\:pb-0{
    padding-bottom: 0px;
  }
}
/* Route announcer */
	.astro-route-announcer {
		position: absolute;
		left: 0;
		top: 0;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		overflow: hidden;
		white-space: nowrap;
		width: 1px;
		height: 1px;
	}