:root {
  --peach-50: #fff5f7;
  --peach-100: #ffe4ea;
  --peach-200: #ffc9d6;
  --peach-300: #ffa3b8;
  --peach-400: #f97d9b;
  --peach-500: #e8617d;
  --peach-600: #d14a68;
  --peach-700: #b03a55;
  --peach-800: #8d2e44;
  --peach-900: #6b2233;
  --ink-900: #1f1520;
  --ink-800: #2c1f2d;
  --ink-700: #3d2c3e;
  --ink-600: #5c465d;
  --ink-500: #7a627b;
  --ink-400: #9c869d;
  --ink-300: #c3b3c4;
  --ink-200: #e0d5e1;
  --ink-100: #f3ecf4;
  --ink-50: #faf6fb;
  --mint-400: #6fd0b8;
  --mint-500: #4bbfa3;
  --sky-400: #7aa9f7;
  --amber-400: #f7b955;
  --bg-body: #faf6fb;
  --bg-card: rgba(255, 255, 255, 0.72);
  --bg-card-solid: #ffffff;
  --bg-elevated: rgba(255, 255, 255, 0.9);
  --bg-header: rgba(255, 255, 255, 0.78);
  --bg-footer: #2c1f2d;
  --text-main: #2c1f2d;
  --text-sub: #5c465d;
  --text-muted: #7a627b;
  --text-invert: #ffffff;
  --border-soft: rgba(232, 97, 125, 0.14);
  --border-strong: rgba(232, 97, 125, 0.28);
  --shadow-sm: 0 2px 8px rgba(107, 34, 51, 0.06);
  --shadow-md: 0 8px 24px rgba(107, 34, 51, 0.09);
  --shadow-lg: 0 18px 48px rgba(107, 34, 51, 0.13);
  --shadow-glow: 0 10px 32px rgba(232, 97, 125, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;
  --grad-hero: linear-gradient(135deg, #ffb3c6 0%, #e8617d 42%, #b03a55 100%);
  --grad-brand: linear-gradient(120deg, #f97d9b 0%, #e8617d 50%, #d14a68 100%);
  --grad-soft: linear-gradient(135deg, #fff5f7 0%, #ffe4ea 100%);
  --grad-mint: linear-gradient(135deg, #6fd0b8 0%, #4bbfa3 100%);
  --grad-sky: linear-gradient(135deg, #7aa9f7 0%, #5c86e0 100%);
  --grad-amber: linear-gradient(135deg, #f7b955 0%, #e89b2c 100%);
  --glass-blur: blur(16px) saturate(160%);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Songti SC", "Source Han Serif SC", "Noto Serif SC", Georgia, serif;
  --max-width: 1200px;
  --header-h: 72px;
}

[data-theme="dark"] {
  --bg-body: #1a121b;
  --bg-card: rgba(44, 31, 45, 0.62);
  --bg-card-solid: #2c1f2d;
  --bg-elevated: rgba(61, 44, 62, 0.82);
  --bg-header: rgba(31, 21, 32, 0.82);
  --bg-footer: #140d15;
  --text-main: #f3ecf4;
  --text-sub: #c3b3c4;
  --text-muted: #9c869d;
  --text-invert: #1f1520;
  --border-soft: rgba(249, 125, 155, 0.16);
  --border-strong: rgba(249, 125, 155, 0.32);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 10px 32px rgba(232, 97, 125, 0.35);
  --grad-soft: linear-gradient(135deg, #2c1f2d 0%, #3d2c3e 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-body: #1a121b;
    --bg-card: rgba(44, 31, 45, 0.62);
    --bg-card-solid: #2c1f2d;
    --bg-elevated: rgba(61, 44, 62, 0.82);
    --bg-header: rgba(31, 21, 32, 0.82);
    --bg-footer: #140d15;
    --text-main: #f3ecf4;
    --text-sub: #c3b3c4;
    --text-muted: #9c869d;
    --text-invert: #1f1520;
    --border-soft: rgba(249, 125, 155, 0.16);
    --border-strong: rgba(249, 125, 155, 0.32);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 10px 32px rgba(232, 97, 125, 0.35);
    --grad-soft: linear-gradient(135deg, #2c1f2d 0%, #3d2c3e 100%);
  }
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-main);
  background-color: var(--bg-body);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(232, 97, 125, 0.1), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(111, 208, 184, 0.1), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(122, 169, 247, 0.08), transparent 45%);
  background-attachment: fixed;
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

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

a {
  color: var(--peach-600);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: var(--peach-500);
}

[data-theme="dark"] a {
  color: var(--peach-300);
}

[data-theme="dark"] a:hover {
  color: var(--peach-200);
}

ul,
ol {
  padding-left: 1.25em;
  margin: 0 0 1em;
}

li {
  margin-bottom: 0.4em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.35;
  color: var(--text-main);
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  position: relative;
  padding-bottom: 0.5em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  transition: width var(--transition-slow);
}

h2:hover::after {
  width: 96px;
}

h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem);
  margin-top: 1.6em;
}

h4 {
  font-size: 1.1rem;
  color: var(--peach-600);
  margin-top: 1.2em;
}

[data-theme="dark"] h4 {
  color: var(--peach-300);
}

p {
  margin: 0 0 1.1em;
  color: var(--text-sub);
}

strong {
  color: var(--text-main);
  font-weight: 700;
}

blockquote {
  margin: 1.5em 0;
  padding: 1.4em 1.6em;
  border-left: 4px solid var(--peach-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

blockquote:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

blockquote p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-main);
  margin-bottom: 0.6em;
}

blockquote footer {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

blockquote footer::before {
  content: "— ";
}

details {
  margin: 0 0 1em;
  padding: 0;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

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

details[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 1em 1.4em;
  font-weight: 600;
  color: var(--text-main);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  gap: 0.7em;
  transition: background var(--transition-fast), color var(--transition-fast);
  position: relative;
}

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

summary::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--peach-500);
  border-bottom: 2px solid var(--peach-500);
  transform: rotate(-45deg);
  transition: transform var(--transition-base);
  margin-right: 0.2em;
}

details[open] summary::before {
  transform: rotate(45deg);
}

summary:hover {
  background: rgba(232, 97, 125, 0.07);
  color: var(--peach-600);
}

[data-theme="dark"] summary:hover {
  color: var(--peach-300);
}

details p {
  padding: 0 1.4em 1.2em;
  margin: 0;
  animation: fadeSlideIn var(--transition-slow) both;
}

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

address {
  font-style: normal;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-header);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--text-main);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  transition: transform var(--transition-base);
}

.brand:hover {
  transform: scale(1.04);
  color: var(--peach-600);
}

[data-theme="dark"] .brand:hover {
  color: var(--peach-300);
}

.brand svg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.brand:hover svg {
  transform: rotate(-8deg) scale(1.06);
}

.brand-name {
  font-family: var(--font-serif);
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

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

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

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--text-sub);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: var(--radius-pill);
  background: var(--grad-brand);
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--peach-600);
  background: rgba(232, 97, 125, 0.08);
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 60%;
}

[data-theme="dark"] .main-nav a:hover {
  color: var(--peach-200);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 280px;
  margin-left: auto;
}

.site-search input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 16px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.site-search input[type="search"]::placeholder {
  color: var(--text-muted);
}

.site-search input[type="search"]:focus {
  border-color: var(--peach-400);
  box-shadow: 0 0 0 4px rgba(232, 97, 125, 0.14);
  background: var(--bg-elevated);
}

.site-search button {
  flex: 0 0 auto;
  padding: 9px 20px;
  font-size: 0.92rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--grad-brand);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-base), filter var(--transition-fast);
}

.site-search button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  filter: brightness(1.06);
}

.site-search button:active {
  transform: translateY(0);
}

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

main > section,
.breadcrumb,
.anchor-nav {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.hero {
  position: relative;
  margin: 32px 0 40px;
  padding: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  color: #fff;
  background: var(--grad-hero);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.35), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.18), transparent 40%);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Ccircle cx='30' cy='30' r='1.2' fill='%23ffffff' fill-opacity='0.16'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

.hero-slides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.slide {
  padding: 40px 32px;
  position: relative;
  transition: background var(--transition-base), transform var(--transition-base);
  animation: slideUp var(--transition-slow) both;
}

.slide:nth-child(2) {
  animation-delay: 0.12s;
}

.slide:nth-child(3) {
  animation-delay: 0.24s;
}

.slide + .slide {
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.slide h2 {
  color: #fff;
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  margin-bottom: 0.5em;
  padding-bottom: 0;
}

.slide h2::after {
  display: none;
}

.slide p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin: 0;
}

.slide:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.stat {
  padding: 22px 16px;
  text-align: center;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--transition-base), transform var(--transition-base);
}

.stat:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.stat .num {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  display: inline-block;
  letter-spacing: -0.01em;
}

.stat .unit {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  margin-left: 2px;
}

.stat p {
  margin: 6px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

.breadcrumb {
  margin: 0 0 24px;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 10px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.breadcrumb li {
  margin: 0;
  display: flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 8px;
  color: var(--peach-300);
}

.breadcrumb a {
  color: var(--text-sub);
  font-weight: 500;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--peach-600);
  font-weight: 600;
}

[data-theme="dark"] .breadcrumb [aria-current="page"] {
  color: var(--peach-300);
}

.anchor-nav {
  margin: 0 0 40px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

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

.anchor-nav li {
  margin: 0;
}

.anchor-nav a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-sub);
  border-radius: var(--radius-pill);
  background: rgba(232, 97, 125, 0.06);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.anchor-nav a:hover {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

main > section {
  margin-bottom: 48px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

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

main > section > h2:first-child {
  margin-top: 0;
}

main > section ul,
main > section ol {
  color: var(--text-sub);
}

main > section ul li::marker {
  color: var(--peach-400);
}

main > section ol li::marker {
  color: var(--peach-500);
  font-weight: 700;
}

main > section article {
  padding: 20px 22px;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

main > section article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-brand);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

main > section article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

main > section article:hover::before {
  transform: scaleY(1);
}

main > section article h3 {
  margin-top: 0;
  font-size: 1.12rem;
  transition: color var(--transition-fast);
}

main > section article:hover h3 {
  color: var(--peach-600);
}

[data-theme="dark"] main > section article:hover h3 {
  color: var(--peach-300);
}

main > section article p {
  font-size: 0.94rem;
  margin-bottom: 0.7em;
}

main > section article p:first-of-type {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5em;
}

main > section article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--peach-600);
  padding: 4px 0;
  position: relative;
}

main > section article a::after {
  content: "→";
  transition: transform var(--transition-fast);
}

main > section article a:hover::after {
  transform: translateX(4px);
}

[data-theme="dark"] main > section article a {
  color: var(--peach-300);
}

#reviews blockquote {
  max-width: 100%;
}

#reviews blockquote:nth-of-type(odd) {
  border-left-color: var(--mint-400);
}

#reviews blockquote:nth-of-type(3n) {
  border-left-color: var(--sky-400);
}

#contact address ul,
#contact ul {
  list-style: none;
  padding-left: 0;
}

#contact address li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text-sub);
  border-bottom: 1px dashed var(--border-soft);
}

#contact address li:last-child {
  border-bottom: none;
}

#contact address li::before {
  content: "◆";
  position: absolute;
  left: 4px;
  color: var(--peach-400);
  font-size: 0.7rem;
  top: 12px;
}

#sitemap ul,
#links ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

#sitemap li,
#links li {
  margin: 0;
}

#sitemap a,
#links a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  color: var(--text-sub);
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

#sitemap a:hover,
#links a:hover {
  color: #fff;
  background: var(--grad-brand);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

#team p {
  font-size: 0.95rem;
}

.site-footer {
  background: var(--bg-footer);
  color: var(--ink-200);
  padding: 56px 0 28px;
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-brand);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-inner section {
  min-width: 0;
}

.footer-inner h2 {
  font-size: 1.05rem;
  color: #fff;
  margin: 0 0 1em;
  padding-bottom: 0.5em;
  font-family: var(--font-sans);
  font-weight: 700;
}

.footer-inner h2::after {
  width: 36px;
  height: 3px;
  background: var(--grad-brand);
}

.footer-inner p {
  color: var(--ink-300);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

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

.footer-inner li {
  margin-bottom: 0.6em;
  font-size: 0.9rem;
  color: var(--ink-300);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-inner li:hover {
  color: var(--peach-200);
  transform: translateX(4px);
}

.footer-inner a {
  color: var(--ink-300);
}

.footer-inner a:hover {
  color: var(--peach-200);
}

.site-footer > section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer > section:last-of-type {
  border-bottom: none;
}

.site-footer > section h3 {
  font-size: 0.95rem;
  color: var(--peach-200);
  margin: 0 0 0.5em;
  font-family: var(--font-sans);
  font-weight: 600;
}

.site-footer > section p {
  font-size: 0.86rem;
  color: var(--ink-400);
  margin: 0;
  line-height: 1.7;
}

.copyright {
  max-width: var(--max-width);
  margin: 24px auto 0;
  padding: 0 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-400);
  letter-spacing: 0.03em;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 90;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--grad-brand);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.92);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base), box-shadow var(--transition-base);
}

.back-to-top.is-visible,
.back-to-top:hover {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 40px rgba(232, 97, 125, 0.45);
}

.back-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

@media (min-width: 769px) {
  .back-to-top {
    opacity: 0;
    visibility: hidden;
  }

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

@media (max-width: 1024px) {
  .header-inner {
    gap: 14px;
  }

  .main-nav a {
    padding: 7px 10px;
    font-size: 0.88rem;
  }

  .site-search {
    flex-basis: 220px;
  }

  .hero-slides {
    grid-template-columns: 1fr;
  }

  .slide + .slide {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .slide {
    padding: 28px 26px;
  }

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

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

  body {
    font-size: 15px;
  }

  .header-inner {
    padding: 10px 16px;
    min-height: auto;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    font-size: 1.1rem;
  }

  .brand svg {
    width: 34px;
    height: 34px;
  }

  .main-nav {
    order: 3;
    flex: 1 1 100%;
  }

  .main-nav ul {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    gap: 2px;
  }

  .main-nav ul::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    white-space: nowrap;
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .site-search {
    flex: 1 1 100%;
    order: 2;
    margin-left: 0;
  }

  .site-search input[type="search"] {
    padding: 8px 14px;
    font-size: 0.88rem;
  }

  .site-search button {
    padding: 8px 16px;
    font-size: 0.88rem;
  }

  main {
    padding: 0 16px 48px;
  }

  .hero {
    margin: 20px 0 28px;
    border-radius: var(--radius-lg);
  }

  .slide {
    padding: 24px 20px;
  }

  .slide h2 {
    font-size: 1.15rem;
  }

  .slide p {
    font-size: 0.88rem;
  }

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

  .stat {
    padding: 16px 10px;
  }

  .stat .num {
    font-size: 1.35rem;
  }

  .stat p {
    font-size: 0.75rem;
  }

  .breadcrumb ol {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .anchor-nav {
    padding: 14px 14px;
    margin-bottom: 28px;
  }

  .anchor-nav a {
    padding: 5px 11px;
    font-size: 0.78rem;
  }

  main > section {
    padding: 22px 18px;
    margin-bottom: 32px;
    border-radius: var(--radius-md);
  }

  h2 {
    font-size: 1.35rem;
  }

  h3 {
    font-size: 1.12rem;
  }

  main > section article {
    padding: 16px 16px;
  }

  main > section article h3 {
    font-size: 1.02rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 8px;
  }

  #sitemap a,
  #links a {
    padding: 8px 12px;
    font-size: 0.84rem;
  }

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

  .site-footer > section {
    padding: 16px 16px;
  }

  .copyright {
    padding: 0 16px;
    font-size: 0.78rem;
  }

  .back-to-top {
    right: 14px;
    bottom: 18px;
    padding: 10px 15px;
    font-size: 0.8rem;
  }

  details summary {
    padding: 0.85em 1.1em;
    font-size: 0.96rem;
  }

  details p {
    padding: 0 1.1em 1em;
    font-size: 0.9rem;
  }

  blockquote {
    padding: 1.1em 1.2em;
  }

  blockquote p {
    font-size: 0.98rem;
  }
}

@media (max-width: 420px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 14px 10px;
  }

  .brand-name {
    font-size: 1rem;
  }

  main > section {
    padding: 18px 14px;
  }
}

@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;
  }
}

@media print {
  .site-header,
  .anchor-nav,
  .back-to-top,
  .site-search {
    display: none;
  }

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

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

::selection {
  background: rgba(232, 97, 125, 0.28);
  color: var(--ink-900);
}

[data-theme="dark"] ::selection {
  background: rgba(249, 125, 155, 0.35);
  color: #fff;
}

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

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

[data-theme="dark"] ::-webkit-scrollbar-track {
  background: var(--ink-800);
}

::-webkit-scrollbar-thumb {
  background: var(--peach-300);
  border-radius: var(--radius-pill);
  border: 2px solid var(--ink-100);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  border-color: var(--ink-800);
}

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

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

main > section,
.hero,
.anchor-nav,
.breadcrumb,
.site-footer {
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

main > section:nth-of-type(1) { animation-delay: 0.05s; }
main > section:nth-of-type(2) { animation-delay: 0.1s; }
main > section:nth-of-type(3) { animation-delay: 0.15s; }
main > section:nth-of-type(4) { animation-delay: 0.2s; }
main > section:nth-of-type(5) { animation-delay: 0.25s; }

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

@supports (animation-timeline: view()) {
  main > section {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}