:root {
  --bg: #f7f8fc;
  --bg-2: #ffffff;
  --text: #1c2033;
  --text-2: #5a6079;
  --brand: #6c4cf1;
  --brand-2: #ff5d8f;
  --brand-3: #22c1a3;
  --line: #e6e8f2;
  --shadow: 0 8px 30px rgba(28, 32, 51, 0.08);
  --radius: 16px;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
}

html[data-theme="dark"] {
  --bg: #0f1020;
  --bg-2: #171a2e;
  --text: #eef0fa;
  --text-2: #a3a9c4;
  --brand: #8f74ff;
  --brand-2: #ff7aa5;
  --brand-3: #3ad9b8;
  --line: #262b45;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  --glass: rgba(23, 26, 46, 0.72);
  --glass-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  transition: background 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  text-decoration: underline;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 16px;
  z-index: 9999;
  border-radius: 0 0 10px 0;
}

.skip:focus {
  left: 10px;
  top: 10px;
  border-radius: 10px;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  letter-spacing: 0.5px;
}

.logo:hover {
  text-decoration: none;
}

.logo .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(108, 76, 241, 0.35);
  transition: transform 0.3s ease;
}

.logo:hover .mark {
  transform: rotate(-12deg) scale(1.06);
}

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-2);
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: var(--bg);
  color: var(--brand);
  text-decoration: none;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 4px 4px 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(108, 76, 241, 0.12);
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  color: var(--text);
  width: 120px;
  font-size: 14px;
}

.search-box input::placeholder {
  color: var(--text-2);
}

.search-box button {
  border: none;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-radius: 9px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 14px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.search-box button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.icon-btn {
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 10px 20px 18px;
  border-top: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-menu.open {
  display: flex;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu a {
  padding: 10px 8px;
  border-radius: 8px;
  color: var(--text-2);
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-menu a:hover {
  background: var(--bg);
  color: var(--brand);
  text-decoration: none;
}

.crumbs {
  font-size: 13px;
  color: var(--text-2);
  padding: 14px 0;
}

.crumbs a {
  color: var(--text-2);
}

.crumbs a:hover {
  color: var(--brand);
}

.crumbs span {
  color: var(--brand);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, #6c4cf1 0%, #a34cf1 45%, #ff5d8f 100%);
  color: #fff;
  padding: 54px 44px;
  margin: 8px 0 26px;
  box-shadow: var(--shadow);
}

.hero::before {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero h1 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 14px;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.hero p {
  font-size: 16px;
  opacity: 0.94;
  max-width: 720px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: #fff;
  color: #6c4cf1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.26);
  text-decoration: none;
  transform: translateY(-2px);
}

.slider {
  margin-top: 26px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1;
}

.slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  padding: 22px 26px;
}

.slide h3 {
  font-size: 19px;
  margin-bottom: 6px;
  color: #fff;
}

.slide p {
  font-size: 14px;
  opacity: 0.9;
  margin: 0;
  color: #fff;
}

.dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 0 0 14px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.dot.active {
  background: #fff;
  width: 22px;
  border-radius: 99px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 26px 0;
}

.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
}

.stat .num {
  font-size: 30px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.2;
}

.stat .label {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 4px;
}

section {
  margin: 40px 0;
  scroll-margin-top: 90px;
}

.sec-head {
  margin-bottom: 22px;
}

.sec-head h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
  padding-left: 14px;
  line-height: 1.4;
}

.sec-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
}

.sec-head p {
  color: var(--text-2);
  font-size: 15px;
  max-width: 820px;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  border-color: rgba(108, 76, 241, 0.4);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.45;
}

h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: var(--brand);
}

p {
  color: var(--text-2);
  margin-bottom: 12px;
}

ul,
ol {
  padding-left: 22px;
  color: var(--text-2);
  margin-bottom: 12px;
}

li {
  margin-bottom: 6px;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  background: var(--glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: sticky;
  top: 76px;
  z-index: 60;
  box-shadow: var(--shadow);
}

.anchor-nav a {
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-2);
  border: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.anchor-nav a:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: transparent;
  text-decoration: none;
  transform: translateY(-2px);
}

.feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature .ic {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(108, 76, 241, 0.3);
  transition: transform 0.3s ease;
}

.feature:hover .ic {
  transform: scale(1.1) rotate(-6deg);
}

.feature h3 {
  font-size: 16px;
  margin-bottom: 4px;
}

.feature p {
  font-size: 14px;
  margin: 0;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.cat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.cat:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.cat .em {
  font-size: 24px;
  margin-bottom: 6px;
  transition: transform 0.3s ease;
}

.cat:hover .em {
  transform: scale(1.2);
}

.cat .nm {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.cat .ct {
  font-size: 12px;
  color: var(--text-2);
}

.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.article {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.article .meta {
  font-size: 12px;
  color: var(--text-2);
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.article h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.article p {
  font-size: 14px;
  margin-bottom: 12px;
}

.article .more {
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: transform 0.2s ease;
}

.article:hover .more {
  transform: translateX(4px);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-2);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(108, 76, 241, 0.5);
}

.faq-item.open {
  border-color: var(--brand);
  box-shadow: 0 4px 18px rgba(108, 76, 241, 0.12);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: inherit;
  line-height: 1.6;
}

.faq-q .ar {
  transition: transform 0.3s ease;
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}

.faq-item.open .faq-q .ar {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 16px;
}

.faq-a p {
  font-size: 14px;
  margin: 0;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  display: flex;
  gap: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.step:hover {
  transform: translateX(4px);
  border-color: var(--brand);
}

.step .no {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(108, 76, 241, 0.3);
}

.step h4 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 15px;
}

.step p {
  font-size: 14px;
  margin: 0;
}

.case {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--brand);
}

.case .quote {
  font-size: 14px;
  color: var(--text-2);
  font-style: italic;
  border-left: 3px solid var(--brand);
  padding-left: 14px;
  margin: 12px 0;
}

.case .who {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  transition: padding-left 0.25s ease;
}

.news-item:hover {
  padding-left: 6px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item .date {
  flex: 0 0 90px;
  font-size: 13px;
  color: var(--text-2);
}

.news-item h3 {
  font-size: 15px;
  margin: 0;
}

.news-item p {
  font-size: 13px;
  margin: 4px 0 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: transform 0.25s ease;
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-item .ic {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-item:hover .ic {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border-color: transparent;
}

.contact-item h4 {
  margin: 0 0 2px;
  color: var(--text);
  font-size: 15px;
}

.contact-item p {
  margin: 0;
  font-size: 14px;
}

footer.site {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  margin-top: 50px;
  padding: 40px 0 20px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 30px;
}

.foot-brand p {
  font-size: 14px;
  margin: 10px 0 0;
}

.foot-col h4 {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text);
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 4px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.foot-col a:hover {
  color: var(--brand);
  padding-left: 4px;
  text-decoration: none;
}

.foot-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
}

.foot-bottom a {
  color: var(--text-2);
}

.foot-bottom a:hover {
  color: var(--brand);
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 90;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  transform: translateY(-4px) scale(1.05);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.badge {
  display: inline-block;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(108, 76, 241, 0.12);
  color: var(--brand);
  font-weight: 600;
  margin-bottom: 8px;
}

.badge.pink {
  background: rgba(255, 93, 143, 0.12);
  color: var(--brand-2);
}

.badge.green {
  background: rgba(34, 193, 163, 0.12);
  color: var(--brand-3);
}

.author-box {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  transition: border-color 0.25s ease;
}

.author-box:hover {
  border-color: var(--brand);
}

.author-box .av {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(108, 76, 241, 0.3);
}

.author-box p {
  margin: 0;
  font-size: 13px;
}

img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded {
  opacity: 1;
}

@media (max-width: 960px) {
  .hero h1 {
    font-size: 28px;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .anchor-nav {
    top: 72px;
  }
}

@media (max-width: 720px) {
  .nav-links,
  .search-box {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    height: 60px;
    gap: 10px;
  }

  .logo {
    font-size: 18px;
  }

  .logo .mark {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .hero {
    padding: 34px 22px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 15px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }

  .slide {
    padding: 18px 20px;
  }

  .slide h3 {
    font-size: 17px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .article-list,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 18px;
  }

  .stat .num {
    font-size: 26px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .anchor-nav {
    position: static;
    padding: 12px;
  }

  .anchor-nav a {
    font-size: 12px;
    padding: 5px 10px;
  }

  .sec-head h2 {
    font-size: 22px;
  }

  .card {
    padding: 20px;
  }

  .news-item {
    flex-direction: column;
    gap: 4px;
  }

  .news-item .date {
    flex: none;
  }

  .faq-q {
    font-size: 14px;
    padding: 14px 16px;
  }

  .faq-a {
    padding: 0 16px;
  }

  .step {
    padding: 14px;
    gap: 12px;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  .foot-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 21px;
  }

  .cat-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  header.site,
  footer.site,
  .back-top,
  .anchor-nav,
  .hero-actions,
  .slider {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .article,
  .case {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

::selection {
  background: rgba(108, 76, 241, 0.25);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  border-radius: 10px;
  border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand);
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}