:root {
  --brand: #1B4F72;
  --brand-deep: #12263A;
  --brand-mid: #2E86C1;
  --accent: #F7C948;
  --accent-soft: rgba(247, 201, 72, 0.16);
  --bg: #F5F8FC;
  --bg-soft: #EDF2F9;
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-strong: rgba(255, 255, 255, 0.88);
  --text: #16212E;
  --text-soft: #4A5A6D;
  --text-mute: #7A8A9C;
  --border: rgba(27, 79, 114, 0.14);
  --border-strong: rgba(27, 79, 114, 0.26);
  --shadow-sm: 0 2px 8px rgba(18, 38, 58, 0.06);
  --shadow-md: 0 10px 28px rgba(18, 38, 58, 0.1);
  --shadow-lg: 0 22px 56px rgba(18, 38, 58, 0.16);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="dark"] {
  --brand: #4FA3D9;
  --brand-deep: #0B1622;
  --brand-mid: #2E86C1;
  --accent: #F7C948;
  --accent-soft: rgba(247, 201, 72, 0.14);
  --bg: #0B1622;
  --bg-soft: #101E2C;
  --surface: #142434;
  --surface-glass: rgba(20, 36, 52, 0.72);
  --surface-glass-strong: rgba(20, 36, 52, 0.9);
  --text: #E9F0F7;
  --text-soft: #B4C4D4;
  --text-mute: #8095A9;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 22px 56px rgba(0, 0, 0, 0.5);
}

*,
*::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.78;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 12% -8%, rgba(46, 134, 193, 0.16), transparent 62%),
    radial-gradient(900px 520px at 96% 4%, var(--accent-soft), transparent 58%),
    var(--bg);
  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,
a:focus-visible {
  color: var(--brand-mid);
}

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

h1 {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.95rem);
  margin: 0 0 0.7em;
  position: relative;
  padding-left: 18px;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, var(--accent), var(--brand-mid));
}

h3 {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  margin: 1.6em 0 0.55em;
}

h4 {
  font-size: 1.05rem;
  margin: 1.1em 0 0.45em;
}

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

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

ul,
ol {
  margin: 0 0 1.1em;
  padding-left: 1.3em;
  color: var(--text-soft);
}

li {
  margin-bottom: 0.4em;
}

li::marker {
  color: var(--brand-mid);
}

#app {
  display: block;
  min-height: 100vh;
}

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

#siteHeader {
  position: sticky;
  top: 0;
  z-index: 120;
  background: var(--surface-glass);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

#siteHeader.is-scrolled {
  box-shadow: var(--shadow-md);
  background: var(--surface-glass-strong);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--text);
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(96deg, var(--brand), var(--brand-mid) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-slogan {
  font-size: 0.74rem;
  font-style: normal;
  color: var(--text-mute);
  letter-spacing: 0.06em;
}

.main-nav {
  margin-left: auto;
}

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

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

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

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

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text-soft);
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.icon-btn:hover,
.icon-btn:focus-visible {
  color: var(--brand);
  border-color: var(--border-strong);
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.icon-btn:active {
  transform: translateY(0) scale(0.96);
}

.menu-btn {
  display: none;
}

.search-panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  animation: slideDown 0.35s var(--ease);
}

.search-panel[hidden] {
  display: none;
}

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

.search-panel form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.search-panel input[type="search"] {
  flex: 1 1 260px;
  min-width: 0;
  padding: 12px 18px;
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  outline: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

.search-panel input[type="search"]:focus {
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 4px rgba(46, 134, 193, 0.16);
}

.search-hint {
  margin: 12px 0 0;
  font-size: 0.86rem;
  color: var(--text-mute);
}

.search-hint a {
  font-weight: 600;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-primary {
  color: #10202E;
  background: linear-gradient(120deg, var(--accent), #FFD96B 60%, var(--accent));
  box-shadow: 0 8px 22px rgba(247, 201, 72, 0.34);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #10202E;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(247, 201, 72, 0.46);
}

.btn-ghost {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-3px);
}

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

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

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--text-mute);
  opacity: 0.6;
}

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

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

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

main {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

main > section {
  margin-top: 40px;
  padding: 34px clamp(18px, 3vw, 40px);
  background: var(--surface-glass);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

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

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 24px !important;
  padding: clamp(34px, 5vw, 64px) clamp(20px, 4vw, 56px) !important;
  border: none !important;
  border-radius: var(--radius-lg);
  color: #FFFFFF;
  background: linear-gradient(135deg, #0E1F30 0%, #1B4F72 46%, #2E86C1 100%);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 320px at 88% 12%, rgba(247, 201, 72, 0.28), transparent 66%),
    radial-gradient(480px 300px at 6% 92%, rgba(46, 134, 193, 0.42), transparent 68%);
  z-index: -1;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.5;
}

.hero-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroFloat 22s ease-in-out infinite alternate;
}

@keyframes heroFloat {
  from {
    transform: scale(1) translateY(0);
  }
  to {
    transform: scale(1.07) translateY(-14px);
  }
}

.hero-content {
  position: relative;
  max-width: 860px;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(247, 201, 72, 0.42);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero h1 {
  color: #FFFFFF;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.08rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-stats li {
  margin: 0;
  padding: 16px 14px;
  text-align: center;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease);
}

.hero-stats li:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(247, 201, 72, 0.6);
}

.hero-stats .num {
  display: block;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-stats span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.04em;
}

.quick-answer {
  border-left: 5px solid var(--accent) !important;
  background: linear-gradient(120deg, var(--surface-glass-strong), var(--accent-soft)) !important;
}

.quick-answer p {
  font-size: 1.02rem;
  color: var(--text-soft);
}

.principle-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.principle-list li {
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 46px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.principle-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--brand-mid));
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.principle-list li:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.timeline-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 20px 0 8px;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.timeline-table caption {
  caption-side: top;
  padding: 10px 4px 14px;
  font-size: 0.86rem;
  color: var(--text-mute);
  text-align: left;
}

.timeline-table th,
.timeline-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-soft);
  vertical-align: top;
}

.timeline-table thead th {
  background: linear-gradient(120deg, var(--brand), var(--brand-mid));
  color: #FFFFFF;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-bottom: none;
}

.timeline-table tbody tr {
  background: var(--surface);
  transition: background-color 0.3s var(--ease);
}

.timeline-table tbody tr:nth-child(even) {
  background: var(--bg-soft);
}

.timeline-table tbody tr:hover {
  background: var(--accent-soft);
}

.timeline-table tbody tr:last-child td {
  border-bottom: none;
}

.timeline-table td:first-child {
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.card {
  position: relative;
  padding: 24px 22px;
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--brand-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h4 {
  margin-top: 0;
  color: var(--brand);
}

.card p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.quote {
  position: relative;
  margin: 18px 0;
  padding: 22px 24px 18px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.quote::before {
  content: "\201C";
  position: absolute;
  top: 2px;
  left: 10px;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  font-family: Georgia, serif;
}

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

.quote p {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--text);
}

.quote footer {
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}

.section-intro {
  font-size: 0.98rem;
  color: var(--text-mute);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin-bottom: 24px;
}

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

.post {
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.post:hover {
  transform: translateY(-7px);
  border-color: var(--brand-mid);
  box-shadow: var(--shadow-lg);
}

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

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

.post-meta {
  margin: 0 0 12px;
  font-size: 0.8rem;
  color: var(--text-mute);
  letter-spacing: 0.03em;
}

.post-summary {
  flex: 1;
  margin: 0 0 16px;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.read-more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  transition: gap 0.3s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

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

.read-more:hover {
  gap: 10px;
  background: var(--accent);
  color: #10202E;
}

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

.howto-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  gap: 16px;
}

.howto-steps > li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 22px 22px 22px 74px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.howto-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: #10202E;
  background: linear-gradient(135deg, var(--accent), #FFD96B);
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(247, 201, 72, 0.36);
}

.howto-steps > li:hover {
  transform: translateX(6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

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

.howto-steps p {
  margin: 0;
  font-size: 0.93rem;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface-glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

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

.faq-item[open] {
  border-color: var(--brand-mid);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  position: relative;
  padding: 18px 54px 18px 22px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}

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

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.4px solid var(--brand);
  border-bottom: 2.4px solid var(--brand);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.faq-item[open] summary {
  color: var(--brand);
  background: var(--accent-soft);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

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

.faq-answer {
  padding: 4px 22px 20px;
  animation: fadeIn 0.4s var(--ease);
}

.faq-answer p {
  margin: 0;
  font-size: 0.94rem;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.contact-block {
  padding: 24px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.contact-block:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.contact-block h3 {
  margin-top: 0;
  color: var(--brand);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  margin: 0;
  padding: 11px 0;
  font-size: 0.93rem;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list strong {
  color: var(--text);
  margin-right: 4px;
}

.contact-note {
  margin-top: 18px;
  padding: 24px 22px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--accent-soft), var(--surface));
  border: 1px solid var(--border);
}

.contact-note h3 {
  margin-top: 0;
  color: var(--brand);
}

.contact-note p {
  margin-bottom: 0;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.sitemap-grid > div {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.sitemap-grid > div:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.sitemap-grid h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--brand);
}

.sitemap-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-grid li {
  margin: 0 0 8px;
}

.sitemap-grid a {
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.sitemap-grid a:hover {
  color: var(--brand);
  padding-left: 5px;
}

.friend-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.friend-links li {
  margin: 0;
}

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

.friend-links a:hover {
  color: var(--brand);
  border-color: var(--brand-mid);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

#siteFooter {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(150deg, #0E1F30 0%, #1B4F72 62%, #12263A 100%);
  border-top: 3px solid var(--accent);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 20px 30px;
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) 2fr;
  gap: 34px;
}

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

.footer-brand svg {
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.45s var(--ease);
}

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

.footer-brand strong {
  display: block;
  font-size: 1.1rem;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.footer-brand p {
  margin: 6px 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.footer-nav h3 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

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

.footer-nav li {
  margin: 0 0 9px;
}

.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.76);
  transition: color 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.footer-nav a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-meta {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-meta p {
  margin: 0 0 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.footer-meta p:last-child {
  margin-bottom: 0;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 130;
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #10202E;
  background: linear-gradient(135deg, var(--accent), #FFD96B);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(247, 201, 72, 0.42);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), opacity 0.35s var(--ease);
}

.back-to-top[hidden] {
  display: none;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 16px 34px rgba(247, 201, 72, 0.55);
}

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

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

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

@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 (max-width: 1024px) {
  .main-nav a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
  .brand-slogan {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 62px;
  }

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

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px 18px 22px;
    background: var(--surface-glass-strong);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    padding: 12px 16px;
    font-size: 0.98rem;
    border-radius: var(--radius-sm);
  }

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

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

  .footer-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .header-inner {
    padding: 0 14px;
    gap: 10px;
  }

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

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .breadcrumb,
  main {
    padding-left: 14px;
    padding-right: 14px;
  }

  main > section {
    margin-top: 26px;
    padding: 24px 18px;
    border-radius: var(--radius);
  }

  .hero {
    padding: 30px 20px !important;
    border-radius: var(--radius);
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-primary,
  .btn-ghost {
    flex: 1 1 auto;
    padding: 11px 20px;
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 10px;
  }

  .hero-stats li {
    padding: 13px 10px;
  }

  .card-grid,
  .article-list,
  .contact-grid,
  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .howto-steps > li {
    padding: 20px 18px 20px 66px;
  }

  .howto-steps > li::before {
    left: 16px;
    top: 18px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .timeline-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }

  .timeline-table th,
  .timeline-table td {
    padding: 11px 13px;
    font-size: 0.86rem;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    padding: 34px 16px 24px;
  }

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

  .search-panel {
    padding: 12px 14px 18px;
  }

  .search-panel form {
    flex-direction: column;
  }

  .search-panel .btn-primary {
    width: 100%;
  }
}

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

  .footer-nav {
    grid-template-columns: 1fr;
  }
}

@media print {
  #siteHeader,
  .back-to-top,
  .hero-media,
  .hero-actions {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
  }

  main > section {
    box-shadow: none;
    border: 1px solid #CCCCCC;
    background: #FFFFFF;
    page-break-inside: avoid;
  }
}