:root {
  --bg: #f5f6fa;
  --bg-soft: #eceef6;
  --fg: #1a1a2e;
  --muted: #5a5f73;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #ffffff;
  --line: rgba(26, 26, 46, 0.10);
  --brand: #e94560;
  --brand-2: #ff7a8a;
  --brand-soft: rgba(233, 69, 96, 0.10);
  --accent: #0f3460;
  --accent-2: #4a7bbf;
  --deep: #16213e;
  --deep-2: #0a0a12;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(22, 33, 62, 0.08);
  --shadow-hover: 0 18px 44px rgba(22, 33, 62, 0.16);
  --glass: blur(14px) saturate(160%);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --grad-hero: linear-gradient(135deg, #16213e 0%, #0f3460 48%, #e94560 130%);
  --grad-brand: linear-gradient(135deg, #e94560 0%, #4a7bbf 100%);
}

html[data-theme="dark"] {
  --bg: #0b0b14;
  --bg-soft: #10101c;
  --fg: #e8e9f2;
  --muted: #9a9fb5;
  --card: rgba(26, 26, 40, 0.66);
  --card-solid: #161624;
  --line: rgba(255, 255, 255, 0.10);
  --brand: #ff5c77;
  --brand-2: #ff8b9d;
  --brand-soft: rgba(255, 92, 119, 0.14);
  --accent: #4a7bbf;
  --accent-2: #6f9bd8;
  --deep: #0a0a12;
  --deep-2: #05050a;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 18px 44px rgba(0, 0, 0, 0.6);
  --grad-hero: linear-gradient(135deg, #0a0a12 0%, #16213e 55%, #7a1f33 130%);
  --grad-brand: linear-gradient(135deg, #ff5c77 0%, #4a7bbf 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(1100px 620px at 88% -8%, var(--brand-soft), transparent 62%),
    radial-gradient(900px 520px at -8% 12%, rgba(74, 123, 191, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--fg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

a:hover {
  color: var(--brand);
  text-decoration: underline;
}

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

::selection {
  background: var(--brand);
  color: #fff;
}

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

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

header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 18px rgba(22, 33, 62, 0.06);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

html[data-theme="dark"] header.site {
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 19px;
  color: var(--fg);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.logo:hover {
  color: var(--brand);
  text-decoration: none;
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(233, 69, 96, 0.35);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.logo:hover .mark {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 10px 22px rgba(233, 69, 96, 0.5);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 15px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.3s var(--ease);
}

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

.nav-links a:hover::after {
  width: 100%;
}

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

.btn {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.5;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.16);
}

.btn:active {
  transform: translateY(0);
}

.btn.primary {
  background: var(--grad-brand);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
}

.btn.primary:hover {
  opacity: 0.94;
  color: #fff;
  box-shadow: 0 12px 26px rgba(233, 69, 96, 0.42);
}

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

.search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.search input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--fg);
  width: 150px;
  font-size: 14px;
  font-family: inherit;
}

.search input::placeholder {
  color: var(--muted);
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  font-size: 16px;
}

.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
}

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

.breadcrumb span {
  color: var(--fg);
}

.hero {
  background: var(--grad-hero);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: 56px 40px;
  margin: 8px 0 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(22, 33, 62, 0.28);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -140px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.55), transparent 68%);
  filter: blur(10px);
  z-index: -1;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  left: -120px;
  bottom: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 123, 191, 0.5), transparent 70%);
  filter: blur(12px);
  z-index: -1;
  animation: floatOrb 18s ease-in-out infinite alternate-reverse;
}

@keyframes floatOrb {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-26px, 30px, 0) scale(1.12);
  }
}

.hero h1 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.28;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 780px;
  font-size: 15.5px;
}

.hero .tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.hero .tags span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 13px;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease);
}

.hero .tags span:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
}

.hero .cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero .btn:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn.primary {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(233, 69, 96, 0.4);
}

.hero .btn.primary:hover {
  box-shadow: 0 14px 34px rgba(233, 69, 96, 0.55);
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 34px;
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.slides {
  display: flex;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.slide {
  min-width: 100%;
  padding: 34px 30px;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.slide .txt {
  flex: 1;
  min-width: 240px;
}

.slide h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.4;
}

.slide p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.slide .art {
  width: 150px;
  height: 110px;
  flex-shrink: 0;
  border-radius: 12px;
  transition: transform 0.5s var(--ease);
}

.slide:hover .art {
  transform: scale(1.06) rotate(-2deg);
}

.dots {
  position: absolute;
  bottom: 14px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), width 0.3s var(--ease);
}

.dots button:hover {
  transform: scale(1.25);
}

.dots button.active {
  background: var(--grad-brand);
  width: 26px;
  border-radius: 999px;
}

section.block {
  margin-bottom: 48px;
}

h2 {
  font-size: 27px;
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: 0.3px;
}

h2 .no {
  color: var(--brand);
  font-size: 13px;
  display: block;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

h3 {
  font-size: 19px;
  margin: 24px 0 8px;
  line-height: 1.45;
}

h4 {
  font-size: 16px;
  margin: 16px 0 6px;
  color: var(--fg);
}

p {
  margin: 0 0 12px;
}

ul,
ol {
  padding-left: 22px;
}

li {
  margin-bottom: 6px;
}

.lead {
  color: var(--muted);
  max-width: 840px;
  margin-bottom: 20px;
  font-size: 15.5px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--brand-soft), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(233, 69, 96, 0.28);
}

.card:hover::before {
  opacity: 1;
}

.card h3,
.card h4 {
  margin-top: 0;
}

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.3);
  transition: transform 0.4s var(--ease);
}

.card:hover .icon {
  transform: rotate(-6deg) scale(1.08);
}

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

.stat {
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.stat b {
  display: block;
  font-size: 32px;
  line-height: 1.2;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}

.stat span {
  font-size: 13px;
  color: var(--muted);
}

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

.article {
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(233, 69, 96, 0.28);
}

.article .meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.article .meta span {
  background: var(--brand-soft);
  color: var(--brand);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.article h3 {
  font-size: 17px;
  margin: 0 0 8px;
  line-height: 1.5;
}

.article p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 14px;
  flex: 1;
}

.article .more {
  font-size: 14px;
  color: var(--brand);
  font-weight: 600;
  align-self: flex-start;
  transition: letter-spacing 0.3s var(--ease);
}

.article .more:hover {
  text-decoration: none;
  letter-spacing: 0.6px;
}

.faq details {
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: 0 4px 16px rgba(22, 33, 62, 0.05);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease);
}

.faq details:hover {
  border-color: rgba(233, 69, 96, 0.3);
  box-shadow: 0 8px 24px rgba(22, 33, 62, 0.1);
}

.faq details[open] {
  border-color: rgba(233, 69, 96, 0.4);
  background: var(--card-solid);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  color: var(--fg);
  transition: color 0.3s var(--ease);
}

.faq summary:hover {
  color: var(--brand);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  color: var(--brand);
  font-size: 20px;
  line-height: 1;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq details p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  animation: fadeSlide 0.4s var(--ease);
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  position: relative;
  padding: 0 0 22px 54px;
  border-left: 2px solid var(--line);
  margin-left: 17px;
  transition: border-color 0.3s var(--ease);
}

.steps li:hover {
  border-left-color: var(--brand);
}

.steps li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -18px;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(233, 69, 96, 0.32);
  transition: transform 0.35s var(--ease);
}

.steps li:hover::before {
  transform: scale(1.12);
}

.steps li h4 {
  margin: 0 0 4px;
  padding-top: 4px;
}

.steps li p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.case {
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.case:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(233, 69, 96, 0.28);
}

.case .tag {
  font-size: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  padding: 3px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 600;
}

.case h4 {
  margin: 0 0 8px;
  font-size: 16px;
}

.case p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.quote {
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(22, 33, 62, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.quote:hover {
  transform: translateX(6px);
  box-shadow: 0 10px 26px rgba(22, 33, 62, 0.12);
}

.quote p {
  font-size: 14.5px;
  margin: 0 0 8px;
  color: var(--fg);
}

.quote cite {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
}

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

.news-item:hover {
  transform: translateX(5px);
}

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

.news-item:first-child {
  padding-top: 0;
}

.news-item time {
  color: var(--brand);
  font-size: 13px;
  min-width: 92px;
  font-weight: 600;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.news-item div {
  flex: 1;
}

.news-item h4 {
  margin: 0 0 4px;
  font-size: 15.5px;
  transition: color 0.3s var(--ease);
}

.news-item:hover h4 {
  color: var(--brand);
}

.news-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.author {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.author:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.author .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--grad-brand);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(233, 69, 96, 0.32);
}

.author .info {
  font-size: 14px;
  color: var(--muted);
}

.author .info b {
  display: block;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 2px;
}

.author .info span {
  color: var(--muted);
}

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

.contact-grid .card p {
  margin: 4px 0;
  font-size: 14.5px;
}

.contact-grid .card b {
  color: var(--fg);
}

footer.site {
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-2) 100%);
  color: #c9cddd;
  margin-top: 48px;
  padding: 48px 0 22px;
  position: relative;
  overflow: hidden;
}

footer.site::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.28), transparent 70%);
  pointer-events: none;
}

footer.site a {
  color: #c9cddd;
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

footer.site a:hover {
  color: #fff;
  text-decoration: none;
  padding-left: 4px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  position: relative;
}

.foot-grid h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.foot-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13.5px;
  line-height: 2.1;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 32px;
  padding-top: 18px;
  font-size: 13px;
  color: #9aa0b8;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}

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

.sitemap-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2.1;
}

.sitemap-cols h4 {
  margin-top: 0;
}

.backtop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 10px 26px rgba(233, 69, 96, 0.45);
  z-index: 200;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.3s var(--ease);
}

.backtop.show {
  display: flex;
  animation: popIn 0.35s var(--ease);
}

.backtop:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 16px 34px rgba(233, 69, 96, 0.6);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

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

.note {
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 14.5px;
  color: var(--muted);
  box-shadow: 0 4px 16px rgba(22, 33, 62, 0.05);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  background: var(--card);
  -webkit-backdrop-filter: var(--glass);
  backdrop-filter: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
}

th,
td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--fg);
  font-size: 13.5px;
  letter-spacing: 0.3px;
}

tbody tr {
  transition: background-color 0.25s var(--ease);
}

tbody tr:hover {
  background: var(--brand-soft);
}

tr:last-child td {
  border-bottom: none;
}

html[data-theme="dark"] .stat b {
  -webkit-text-fill-color: transparent;
}

@media (max-width: 1024px) {
  .grid.c4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .grid.c3,
  .grid.c4,
  .stats,
  .foot-grid,
  .sitemap-cols,
  .article-list,
  .grid.c2,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 24px;
    border-radius: var(--radius);
  }

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

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

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card-solid);
    -webkit-backdrop-filter: var(--glass);
    backdrop-filter: var(--glass);
    flex-direction: column;
    padding: 12px 20px 16px;
    border-bottom: 1px solid var(--line);
    gap: 0;
    box-shadow: 0 16px 32px rgba(22, 33, 62, 0.14);
    animation: menuDrop 0.3s var(--ease);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 0;
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a::after {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .search input {
    width: 92px;
  }

  .slide {
    padding: 26px 20px;
    gap: 16px;
  }

  .slide .art {
    width: 110px;
    height: 82px;
  }

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

  h2 {
    font-size: 22px;
  }

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

  .news-item time {
    min-width: 0;
  }

  .quote:hover {
    transform: none;
  }

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

  table {
    min-width: 560px;
  }
}

@keyframes menuDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .wrap {
    padding: 0 16px;
  }

  .logo {
    font-size: 17px;
  }

  .logo .mark {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .search {
    display: none;
  }

  .hero {
    padding: 34px 20px;
  }

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

  .hero .cta .btn {
    flex: 1;
    text-align: center;
  }

  .stat b {
    font-size: 27px;
  }

  .card,
  .case,
  .article {
    padding: 18px;
  }

  .backtop {
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

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

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

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

@media print {
  header.site,
  footer.site,
  .backtop,
  .dots,
  .carousel {
    display: none !important;
  }

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

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