:root {
  --site-shell-max-width: 1280px;
  --site-shell-bg: linear-gradient(180deg, #f7fbff 0%, #ffffff 38%, #f4f8ff 100%);
  --site-shell-surface: rgba(255, 255, 255, 0.92);
  --site-shell-text: #10233f;
  --site-shell-muted: #5d6b82;
  --site-shell-line: rgba(16, 35, 63, 0.08);
  --site-shell-primary: #1677ff;
  --site-shell-primary-strong: #0d5ed7;
  --site-shell-accent: #1fd6e2;
  --site-shell-shadow: 0 18px 50px rgba(17, 63, 120, 0.08);
  --site-shell-radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--site-shell-bg);
  color: var(--site-shell-text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(31, 214, 226, 0.12), transparent 26%),
    radial-gradient(circle at top left, rgba(22, 119, 255, 0.12), transparent 30%);
  z-index: -1;
}

.header-v2 {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.24s ease, border-color 0.24s ease, background 0.24s ease;
}

.header-v2.site-shell-scrolled {
  box-shadow: 0 12px 32px rgba(16, 35, 63, 0.08);
  border-bottom-color: rgba(16, 35, 63, 0.06);
  background: rgba(255, 255, 255, 0.94);
}

.hcont,
.site-shell-announcement__inner,
.site-shell-breadcrumb__inner,
.site-shell-footer__inner,
.site-shell-entry__inner {
  width: min(calc(100% - 40px), var(--site-shell-max-width));
  margin: 0 auto;
}

.site-shell-announcement {
  padding: 14px 0 0;
}

.site-shell-announcement__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border: 1px solid rgba(22, 119, 255, 0.1);
  border-radius: var(--site-shell-radius);
  background:
    linear-gradient(135deg, rgba(22, 119, 255, 0.1), rgba(31, 214, 226, 0.08)),
    var(--site-shell-surface);
  box-shadow: var(--site-shell-shadow);
}

.site-shell-announcement__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--site-shell-primary-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-shell-announcement__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
}

.site-shell-announcement__desc {
  margin: 6px 0 0;
  color: var(--site-shell-muted);
  font-size: 14px;
  line-height: 1.7;
}

.site-shell-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.site-shell-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-shell-button:hover {
  transform: translateY(-1px);
}

.site-shell-button--primary {
  background: linear-gradient(135deg, var(--site-shell-primary), var(--site-shell-accent));
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 119, 255, 0.18);
}

.site-shell-button--ghost {
  border-color: rgba(22, 119, 255, 0.14);
  background: rgba(255, 255, 255, 0.76);
  color: var(--site-shell-primary-strong);
}

.site-shell-breadcrumb {
  padding: 14px 0 2px;
}

.site-shell-breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--site-shell-muted);
  font-size: 13px;
}

.site-shell-breadcrumb__inner a {
  color: var(--site-shell-primary-strong);
  text-decoration: none;
}

.site-shell-footer {
  padding: 36px 0 10px;
}

.site-shell-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.site-shell-card {
  padding: 24px;
  border: 1px solid var(--site-shell-line);
  border-radius: var(--site-shell-radius);
  background: var(--site-shell-surface);
  box-shadow: var(--site-shell-shadow);
}

.site-shell-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.site-shell-card p {
  margin: 0;
  color: var(--site-shell-muted);
  line-height: 1.75;
}

.site-shell-link-list {
  display: grid;
  gap: 10px;
}

.site-shell-link-list a {
  color: var(--site-shell-text);
  text-decoration: none;
}

.site-shell-link-list a:hover {
  color: var(--site-shell-primary);
}

.site-shell-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.site-shell-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(22, 119, 255, 0.08);
  color: var(--site-shell-primary-strong);
  font-size: 13px;
  font-weight: 600;
}

.site-shell-entry {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.site-shell-entry__card {
  width: min(100%, 980px);
  padding: 36px;
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.96));
  border: 1px solid rgba(16, 35, 63, 0.08);
  box-shadow: 0 24px 80px rgba(16, 35, 63, 0.12);
}

.site-shell-entry__eyebrow {
  margin: 0 0 8px;
  color: var(--site-shell-primary-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-shell-entry__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.site-shell-entry__desc {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--site-shell-muted);
  font-size: 16px;
  line-height: 1.8;
}

.site-shell-entry__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.site-shell-entry__panel {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(16, 35, 63, 0.08);
}

.site-shell-entry__panel h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.site-shell-entry__panel p {
  margin: 0 0 18px;
  color: var(--site-shell-muted);
  line-height: 1.75;
}

.site-shell-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--site-shell-primary), var(--site-shell-accent));
  color: #fff;
  box-shadow: 0 16px 32px rgba(22, 119, 255, 0.24);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 50;
}

.site-shell-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(22, 119, 255, 0.3);
}

.site-shell-top__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.site-shell-top__icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.site-shell-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 1024px) {
  .site-shell-footer__inner,
  .site-shell-entry__grid {
    grid-template-columns: 1fr;
  }

  .site-shell-announcement__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hcont,
  .site-shell-announcement__inner,
  .site-shell-breadcrumb__inner,
  .site-shell-footer__inner,
  .site-shell-entry__inner {
    width: min(calc(100% - 24px), var(--site-shell-max-width));
  }

  .site-shell-announcement__inner,
  .site-shell-card,
  .site-shell-entry__card,
  .site-shell-entry__panel {
    padding: 20px;
  }

  .site-shell-announcement__title {
    font-size: 20px;
  }

  .site-shell-top {
    right: 16px;
    bottom: 16px;
  }
}
