:root {
  --brand: #e8577d;
  --brand-2: #f6a9bd;
  --brand-3: #7a5bd4;
  --accent: #3b7fd4;
  --bg: #fff7f9;
  --bg-soft: #fdeef2;
  --surface: #ffffff;
  --surface-2: #fffafb;
  --text: #2b2530;
  --text-soft: #6b6272;
  --text-mute: #9a91a0;
  --border: rgba(232, 87, 125, 0.16);
  --border-strong: rgba(232, 87, 125, 0.3);
  --shadow-sm: 0 2px 10px rgba(80, 40, 60, 0.06);
  --shadow-md: 0 10px 30px rgba(80, 40, 60, 0.1);
  --shadow-lg: 0 20px 50px rgba(80, 40, 60, 0.16);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.7);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --header-h: 72px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --brand: #ff7ba0;
  --brand-2: #b95b7a;
  --brand-3: #a48bff;
  --accent: #6aa8f0;
  --bg: #14101a;
  --bg-soft: #1c1624;
  --surface: #1e1826;
  --surface-2: #241d2e;
  --text: #f2ecf4;
  --text-soft: #c3b9cc;
  --text-mute: #8f8499;
  --border: rgba(255, 123, 160, 0.18);
  --border-strong: rgba(255, 123, 160, 0.34);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
  --glass: rgba(30, 24, 38, 0.62);
  --glass-border: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(232, 87, 125, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(122, 91, 212, 0.1), transparent 55%),
    radial-gradient(800px 600px at 50% 110%, rgba(59, 127, 212, 0.08), transparent 60%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

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

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

h1, h2, h3, h4 {
  line-height: 1.35;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
h4 { font-size: 1.02rem; }

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

ul, ol {
  color: var(--text-soft);
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.5em;
}

blockquote {
  margin: 1em 0;
  padding: 1em 1.3em;
  background: var(--surface-2);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
  box-shadow: var(--shadow-sm);
}

blockquote p {
  margin: 0;
}

time {
  color: var(--text-mute);
  font-size: 0.86em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--text);
  font-weight: 700;
}

.brand-logo {
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(232, 87, 125, 0.35);
  transition: transform 0.4s var(--ease);
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.06);
}

.brand-name {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--brand), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-nav {
  flex: 1;
  min-width: 0;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
  background: rgba(232, 87, 125, 0.1);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-search {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px 3px 3px 14px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-search:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(232, 87, 125, 0.14);
}

.site-search input {
  border: 0;
  outline: 0;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  color: var(--text);
  width: 170px;
  padding: 6px 0;
}

.site-search input::placeholder {
  color: var(--text-mute);
}

.site-search button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease), filter 0.25s var(--ease);
}

.site-search button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.theme-toggle,
.menu-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.theme-toggle:hover,
.menu-toggle:hover {
  transform: translateY(-2px) rotate(8deg);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.menu-toggle {
  display: none;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  padding: 18px 2px 6px;
  font-size: 0.86rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--text-mute);
}

.breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "›";
  color: var(--text-mute);
}

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

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

/* ============ Hero ============ */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: start;
  padding: 26px 0 20px;
}

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  min-height: 360px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.slide.active {
  position: relative;
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide-art {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.slide-text {
  padding: 18px 22px 26px;
  background: linear-gradient(180deg, transparent, var(--surface) 40%);
}

.slide-text h2 {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  background: linear-gradient(120deg, var(--brand), var(--brand-3));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
}

.dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(232, 87, 125, 0.35);
  transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.dot.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
}

.hero-intro h1 {
  margin: 0 0 14px;
  background: linear-gradient(120deg, var(--brand) 10%, var(--brand-3) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: 0.98rem;
  color: var(--text-soft);
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}

.hero-points li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.stat {
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 14px 8px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.stat-num {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.02em;
}

.stat-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-mute);
  margin-top: 2px;
}

/* ============ Sections ============ */
.section {
  position: relative;
  margin: 26px 0;
  padding: 30px clamp(18px, 3vw, 38px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.section:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.section > h2 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 14px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.section > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--brand), var(--brand-3));
}

.section h3 {
  margin: 26px 0 10px;
  color: var(--text);
}

.section h3:first-of-type {
  margin-top: 0;
}

.section h4 {
  margin: 18px 0 6px;
  color: var(--brand);
}

.section p {
  font-size: 0.95rem;
}

/* ============ News ============ */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-list li {
  position: relative;
  padding: 12px 14px 12px 34px;
  margin-bottom: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.news-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
}

.news-list li:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.news-list time {
  font-weight: 600;
  color: var(--brand);
  margin-right: 6px;
}

/* ============ Posts ============ */
.post {
  padding: 22px 24px;
  margin: 18px 0;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.post h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  transition: color 0.3s var(--ease);
}

.post:hover h3 {
  color: var(--brand);
}

.post .meta {
  font-size: 0.82rem;
  color: var(--text-mute);
  margin-bottom: 10px;
}

.post .excerpt {
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(232, 87, 125, 0.1);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
}

.read-more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.read-more:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  color: #fff;
  transform: translateX(2px);
}

.read-more:hover::after {
  transform: translateX(3px);
}

/* ============ FAQ ============ */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 20px;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.faq-item[open] {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 16px 34px 16px 0;
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--brand);
  background: rgba(232, 87, 125, 0.1);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  color: #fff;
}

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

.faq-item p {
  margin: 0 0 18px;
  font-size: 0.92rem;
  animation: fadeUp 0.4s var(--ease);
}

/* ============ HowTo ============ */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 12px 16px 12px 52px;
  margin-bottom: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
}

#howto ol li:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
}

/* ============ Sitemap & Links ============ */
.sitemap-list,
.friend-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sitemap-list li,
.friend-links li {
  margin: 0;
}

.sitemap-list a,
.friend-links a {
  display: inline-block;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  color: var(--text-soft);
  background: var(--surface-2);
  border: 1px solid var(--border);
  transition: color 0.25s var(--ease), background 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.sitemap-list a:hover,
.friend-links a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  border-color: transparent;
  transform: translateY(-2px);
}

/* ============ Contact ============ */
#contact p {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  line-height: 2;
  font-size: 0.92rem;
}

/* ============ Footer ============ */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, transparent, rgba(232, 87, 125, 0.06));
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--text);
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.footer-col ul a:hover {
  color: var(--brand);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-mute);
}

.footer-bottom a {
  color: var(--text-soft);
}

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

/* ============ Back to top ============ */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-3));
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease), filter 0.25s var(--ease);
  z-index: 90;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  filter: brightness(1.1);
  transform: translateY(-3px) scale(1.05);
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-slider {
    min-height: 0;
  }

  .main-nav ul {
    gap: 0;
  }

  .main-nav a {
    padding: 8px 9px;
    font-size: 0.86rem;
  }

  .site-search input {
    width: 130px;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 16px;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
  }

  .main-nav.open {
    max-height: 520px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 8px 0;
    border-top: 1px solid var(--border);
  }

  .main-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }

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

  .site-search {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  main {
    padding: 0 14px 30px;
  }

  .section {
    padding: 22px 16px;
    border-radius: var(--radius);
    margin: 18px 0;
  }

  .hero {
    padding-top: 14px;
  }

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

  .slide-text {
    padding: 14px 16px 22px;
  }

  .post {
    padding: 18px 16px;
  }

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

  .news-list li {
    padding-left: 30px;
  }

  .news-list li::before {
    left: 12px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 30px 16px 18px;
  }

  .back-to-top {
    right: 14px;
    bottom: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

@media print {
  .site-header,
  .back-to-top,
  .slider-dots,
  .theme-toggle,
  .menu-toggle {
    display: none !important;
  }

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

  .section {
    box-shadow: none;
    border: 1px solid #ddd;
    break-inside: avoid;
  }
}