:root {
  --brand: #ff4d6d;
  --brand-dark: #d63857;
  --brand-light: #ff8fa3;
  --accent: #fbbf24;
  --bg: #f6f7fb;
  --bg-alt: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.65);
  --bg-glass-border: rgba(255, 255, 255, 0.5);
  --text: #1a1d26;
  --text-soft: #4a5163;
  --text-muted: #6b7280;
  --border: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-h: 68px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

[data-theme="dark"] {
  --bg: #0b0f19;
  --bg-alt: #131826;
  --bg-glass: rgba(19, 24, 38, 0.6);
  --bg-glass-border: rgba(255, 255, 255, 0.08);
  --text: #eef1f8;
  --text-soft: #c3c9d8;
  --text-muted: #8b93a7;
  --border: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.55);
}

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

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

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 77, 109, 0.14), transparent 42%),
    radial-gradient(circle at 88% 0%, rgba(109, 40, 217, 0.12), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(251, 191, 36, 0.08), transparent 50%);
  background-attachment: fixed;
}

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-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

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

/* ============ Header ============ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--bg-glass-border);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

#site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

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

.logo svg {
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(255, 77, 109, 0.35);
  transition: transform 0.4s var(--ease);
}

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

.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(120deg, var(--brand), #6d28d9 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
  border-radius: 999px;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-list a:hover {
  color: var(--text);
  background: rgba(255, 77, 109, 0.08);
  transform: translateY(-1px);
}

.nav-list a:hover::after {
  width: 40%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

#theme-toggle,
#menu-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 18px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

#theme-toggle:hover,
#menu-toggle:hover {
  transform: translateY(-2px) rotate(6deg);
  box-shadow: var(--shadow-md);
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}

#menu-toggle {
  display: none;
}

/* ============ Main layout ============ */
#main-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px 80px;
}

section {
  margin-top: 64px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}

section > h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 24px;
  position: relative;
  padding-left: 18px;
  line-height: 1.35;
}

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

section article {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px clamp(20px, 3vw, 36px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease), background 0.4s var(--ease);
}

section article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 77, 109, 0.3);
}

article h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text);
  line-height: 1.45;
}

article h3:first-child {
  margin-top: 0;
}

article h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--brand);
}

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

article ul,
article ol {
  margin: 10px 0 16px;
  padding-left: 4px;
}

article ul li,
article ol li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  color: var(--text-soft);
}

article ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 0 0 3px rgba(255, 77, 109, 0.14);
}

article ol {
  counter-reset: item;
}

article ol li {
  counter-increment: item;
}

article ol li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #6d28d9);
}

/* ============ Hero ============ */
.hero {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px clamp(20px, 3.5vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid var(--bg-glass-border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.28), transparent 68%);
  pointer-events: none;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -15%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.22), transparent 70%);
  pointer-events: none;
  animation: floatGlow 14s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-24px, 26px, 0) scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  background: linear-gradient(115deg, var(--text) 30%, var(--brand) 70%, #6d28d9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-soft);
  margin-bottom: 14px;
}

.hero-question {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 77, 109, 0.07);
  border-left: 4px solid var(--brand);
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #6d28d9);
  box-shadow: 0 10px 26px rgba(255, 77, 109, 0.38);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35), transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(255, 77, 109, 0.5);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-secondary {
  color: var(--text);
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
}

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

/* ============ Banner carousel ============ */
.hero-banner {
  position: relative;
  z-index: 2;
  aspect-ratio: 800 / 360;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--bg-glass-border);
  background: var(--bg-alt);
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s var(--ease), transform 1.2s var(--ease);
  will-change: opacity, transform;
}

.banner-slide.active {
  opacity: 1;
  transform: scale(1);
}

.banner-slide svg {
  width: 100%;
  height: 100%;
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  margin-top: 28px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

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

.breadcrumb li + li::before {
  content: "/";
  color: var(--text-muted);
  opacity: 0.6;
}

.breadcrumb a {
  color: var(--text-soft);
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.25s var(--ease);
}

.breadcrumb a:hover {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

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

/* ============ Articles grid ============ */
#articles > p {
  color: var(--text-soft);
  margin-bottom: 22px;
  max-width: 900px;
}

#articles {
  display: block;
}

#articles article {
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), #6d28d9);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s var(--ease);
}

#articles article:hover::before {
  transform: scaleY(1);
}

#articles article h3 {
  margin-top: 0;
}

#articles article time {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand);
  background: rgba(255, 77, 109, 0.1);
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}

#articles article a::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

#articles article a:hover {
  gap: 10px;
}

#articles article a:hover::after {
  transform: translateX(4px);
}

/* ============ Blockquote / cases ============ */
blockquote {
  margin: 18px 0 0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 77, 109, 0.08), rgba(109, 40, 217, 0.08));
  border-left: 4px solid var(--brand);
  position: relative;
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 12px;
  font-size: 60px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.22;
  font-family: Georgia, serif;
}

blockquote p {
  position: relative;
  z-index: 1;
  font-style: italic;
  color: var(--text-soft);
  margin-bottom: 10px;
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* ============ FAQ ============ */
#faq dl {
  display: grid;
  gap: 14px;
}

#faq dt {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
  cursor: default;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

#faq dt::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #6d28d9);
}

#faq dt:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 77, 109, 0.35);
}

#faq dd {
  margin: -6px 0 4px;
  padding: 16px 20px 16px 52px;
  color: var(--text-soft);
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 77, 109, 0.04);
  border: 1px dashed var(--border);
  position: relative;
}

#faq dd::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  border-radius: 8px;
  background: rgba(255, 77, 109, 0.12);
}

/* ============ Contact ============ */
#contact address {
  font-style: normal;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

#contact address p {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin: 0;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

#contact address p:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 77, 109, 0.35);
}

#contact h3 {
  font-size: 1.1rem;
  margin: 20px 0 8px;
  color: var(--brand);
}

#contact > article > p {
  color: var(--text-soft);
}

/* ============ Sitemap ============ */
#sitemap nav ul,
#sitemap > article > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

#sitemap nav ul li a,
#sitemap > article > ul li a {
  display: inline-block;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}

#sitemap nav ul li a:hover,
#sitemap > article > ul li a:hover {
  color: #fff;
  background: linear-gradient(120deg, var(--brand), #6d28d9);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 77, 109, 0.35);
}

#sitemap h3 {
  margin-top: 22px;
}

#sitemap p {
  color: var(--text-soft);
  font-size: 0.94rem;
}

/* ============ Footer ============ */
footer {
  margin-top: 80px;
  padding: 40px 20px 48px;
  text-align: center;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--brand), #6d28d9, transparent);
}

footer p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

footer p:first-child {
  font-weight: 600;
  color: var(--text-soft);
}

/* ============ Back to top ============ */
#back-to-top {
  position: fixed;
  right: 24px;
  bottom: 28px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #6d28d9);
  box-shadow: 0 10px 26px rgba(255, 77, 109, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    visibility 0.4s var(--ease), box-shadow 0.3s var(--ease);
  z-index: 999;
}

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

#back-to-top:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 16px 34px rgba(255, 77, 109, 0.55);
}

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

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

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

  .hero-banner {
    order: -1;
  }

  .nav-list a {
    padding: 8px 10px;
    font-size: 13.5px;
  }
}

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

  #menu-toggle {
    display: grid;
  }

  nav[role="navigation"] {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-glass);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border-bottom: 1px solid var(--bg-glass-border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease), opacity 0.35s var(--ease);
    opacity: 0;
  }

  nav[role="navigation"].open {
    max-height: 520px;
    opacity: 1;
    overflow-y: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 20px;
  }

  .nav-list a {
    display: block;
    padding: 13px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
  }

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

  .nav-list a:hover {
    background: rgba(255, 77, 109, 0.1);
    transform: none;
  }

  section {
    margin-top: 48px;
  }

  section article {
    padding: 22px 18px;
    border-radius: var(--radius-md);
  }

  .logo-text {
    font-size: 18px;
  }
}

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

  #main-content {
    padding: 0 14px 60px;
  }

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

  .logo svg {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: 16.5px;
  }

  #theme-toggle,
  #menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .hero {
    margin-top: 24px;
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .hero h1 {
    font-size: 1.55rem;
  }

  .hero-desc,
  .hero-question {
    font-size: 0.9rem;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1 1 100%;
    padding: 12px 20px;
  }

  section > h2 {
    font-size: 1.35rem;
    margin-bottom: 18px;
    padding-left: 14px;
  }

  section > h2::before {
    width: 5px;
  }

  article h3 {
    font-size: 1.12rem;
  }

  article h4 {
    font-size: 1rem;
  }

  #faq dt {
    padding: 14px 16px 14px 46px;
    font-size: 0.96rem;
  }

  #faq dd {
    padding: 14px 16px 14px 46px;
    font-size: 0.9rem;
  }

  #faq dt::before,
  #faq dd::before {
    left: 12px;
    width: 24px;
    height: 24px;
  }

  #contact address {
    grid-template-columns: 1fr;
  }

  #back-to-top {
    right: 16px;
    bottom: 20px;
    width: 44px;
    height: 44px;
  }

  footer {
    padding: 32px 16px 40px;
  }

  footer p {
    font-size: 12.5px;
  }
}

/* ============ Accessibility ============ */
@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;
  }
}

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

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

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