:root {
  --brand-primary: #e94560;
  --brand-secondary: #f5a623;
  --brand-accent: #6c5ce7;
  --bg-base: #0f0f1a;
  --bg-elevated: #1a1a2e;
  --bg-card: rgba(30, 30, 50, 0.62);
  --bg-card-solid: #1e1e32;
  --bg-glass: rgba(26, 26, 46, 0.55);
  --text-primary: #f2f2f7;
  --text-secondary: #b4b4c8;
  --text-muted: #8a8aa0;
  --border-soft: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.38);
  --shadow-hover: 0 16px 48px rgba(233, 69, 96, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --gradient-brand: linear-gradient(135deg, #e94560 0%, #6c5ce7 55%, #f5a623 100%);
  --gradient-banner: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 40%, #3d1f33 70%, #1a1a2e 100%);
  --gradient-soft: linear-gradient(135deg, rgba(233, 69, 96, 0.12), rgba(108, 92, 231, 0.12));
  --font-stack: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-base: #f6f7fb;
    --bg-elevated: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.72);
    --bg-card-solid: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.6);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a63;
    --text-muted: #767690;
    --border-soft: rgba(26, 26, 46, 0.08);
    --border-strong: rgba(26, 26, 46, 0.16);
    --shadow-card: 0 8px 32px rgba(26, 26, 46, 0.1);
    --shadow-hover: 0 16px 48px rgba(233, 69, 96, 0.18);
    --gradient-banner: linear-gradient(135deg, #ffe9ee 0%, #ece7ff 45%, #fff3dc 100%);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(233, 69, 96, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 90% 10%, rgba(108, 92, 231, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(245, 166, 35, 0.08), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

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

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

a:hover,
a:focus-visible {
  color: var(--brand-secondary);
}

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

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

h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  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(--gradient-brand);
}

h3 {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

h4 {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

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

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.4em;
  color: var(--text-secondary);
}

li {
  margin-bottom: 0.4em;
}

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

blockquote {
  margin: 1.2em 0;
  padding: 1em 1.4em;
  background: var(--bg-card);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

blockquote p {
  margin: 0;
  font-style: italic;
  color: var(--text-primary);
}

time {
  color: var(--text-muted);
  font-size: 0.875rem;
}

address {
  font-style: normal;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-soft);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

header > div {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}

header > div > a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

header > div > a:hover {
  color: var(--brand-primary);
}

header > div > a svg {
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(233, 69, 96, 0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

header > div > a:hover svg {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 6px 22px rgba(245, 166, 35, 0.45);
}

header > div > a strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

header nav {
  flex: 1 1 auto;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav ul li {
  margin: 0;
}

header nav ul li a {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-pill);
  transition: color var(--transition-base), background var(--transition-base), transform var(--transition-base);
}

header nav ul li a:hover,
header nav ul li a:focus-visible {
  color: var(--text-primary);
  background: var(--gradient-soft);
  transform: translateY(-2px);
}

header form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

header form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

header form input[type="search"] {
  width: 200px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), width var(--transition-base);
}

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

header form input[type="search"]:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.2);
  width: 240px;
}

header form button {
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--gradient-brand);
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-base);
}

header form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.4);
  filter: brightness(1.08);
}

header form button:active {
  transform: translateY(0);
}

/* ===== Main ===== */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

main > nav[aria-label="面包屑导航"] {
  margin-bottom: 1.5rem;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

main > nav[aria-label="面包屑导航"] ol li {
  margin: 0;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] ol li:not(:last-child)::after {
  content: "/";
  margin-left: 0.4rem;
  color: var(--text-muted);
  opacity: 0.6;
}

main > nav[aria-label="面包屑导航"] ol li[aria-current="page"] {
  color: var(--brand-primary);
  font-weight: 600;
}

/* ===== Sections ===== */
section {
  margin-bottom: 3rem;
  scroll-margin-top: 90px;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

section:nth-of-type(2n) {
  animation-delay: 0.08s;
}

section:nth-of-type(3n) {
  animation-delay: 0.16s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    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;
  }
}

/* ===== Banner ===== */
#banner {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--gradient-banner);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

#banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(233, 69, 96, 0.25), transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(108, 92, 231, 0.25), transparent 45%),
    radial-gradient(circle at 60% 10%, rgba(245, 166, 35, 0.18), transparent 40%);
  pointer-events: none;
}

#banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 69, 96, 0.18), transparent 70%);
  animation: floatOrb 12s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-30px, 30px) scale(1.1);
  }
}

#banner > * {
  position: relative;
  z-index: 1;
}

#banner h1 {
  margin-bottom: 1rem;
  text-wrap: balance;
}

#banner > p {
  max-width: 820px;
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  color: var(--text-secondary);
}

#banner > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

#banner > div article {
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#banner > div article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

#banner > div article h2 {
  font-size: 1.15rem;
  padding-bottom: 0;
  margin-bottom: 0.5rem;
}

#banner > div article h2::after {
  display: none;
}

#banner > div article p {
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

#banner > div article a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-soft);
  border: 1px solid var(--border-soft);
  transition: background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

#banner > div article a::after {
  content: "→";
  transition: transform var(--transition-base);
}

#banner > div article a:hover {
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.25);
}

#banner > div article a:hover::after {
  transform: translateX(4px);
}

/* ===== Generic content cards ===== */
#intro,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap,
#links,
#legal {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

#intro:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#faq:hover,
#howto:hover,
#contact:hover,
#sitemap:hover,
#links:hover,
#legal:hover {
  border-color: var(--border-strong);
}

#intro h3,
#products h3,
#solutions h3,
#cases h3,
#news h3,
#articles h3,
#howto h3,
#contact h3,
#legal h3 {
  margin-top: 1.6rem;
  color: var(--text-primary);
}

#intro h3:first-of-type,
#products h3:first-of-type,
#solutions h3:first-of-type,
#cases h3:first-of-type,
#howto h3:first-of-type,
#contact h3:first-of-type,
#legal h3:first-of-type {
  margin-top: 0.5rem;
}

#products ul,
#howto ul,
#sitemap ul,
#links ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.6rem;
}

#products ul li,
#howto ul li {
  position: relative;
  padding: 0.7rem 1rem 0.7rem 2.4rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

#products ul li::before,
#howto ul li::before {
  content: "✦";
  position: absolute;
  left: 1rem;
  color: var(--brand-secondary);
  font-size: 0.85rem;
}

#products ul li:hover,
#howto ul li:hover {
  transform: translateX(6px);
  border-color: var(--brand-primary);
  background: var(--gradient-soft);
}

#howto ol {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.75rem;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  padding: 0.85rem 1rem 0.85rem 3.4rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-brand);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.35);
}

#howto ol li:hover {
  transform: translateX(6px);
  border-color: var(--brand-accent);
}

/* ===== Cases ===== */
#cases blockquote {
  position: relative;
  padding-left: 2.6rem;
}

#cases blockquote::before {
  content: "“";
  position: absolute;
  left: 0.8rem;
  top: 0.1rem;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--brand-primary);
  opacity: 0.6;
  font-family: Georgia, serif;
}

/* ===== News ===== */
#news article {
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--brand-accent);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

#news article:last-child {
  margin-bottom: 0;
}

#news article:hover {
  transform: translateX(6px);
  border-left-color: var(--brand-primary);
  box-shadow: var(--shadow-card);
}

#news article h3 {
  margin-top: 0;
  font-size: 1.08rem;
}

#news article time {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.15rem 0.7rem;
  font-size: 0.78rem;
  color: var(--brand-secondary);
  background: rgba(245, 166, 35, 0.12);
  border-radius: var(--radius-pill);
}

#news article p:last-child {
  margin-bottom: 0;
}

/* ===== Articles ===== */
#articles {
  display: grid;
  gap: 0;
}

#articles > h2 {
  grid-column: 1 / -1;
}

#articles article {
  padding: 1.4rem;
  margin-bottom: 1.1rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-base);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-strong);
}

#articles article:hover::before {
  opacity: 1;
}

#articles article h3 {
  margin-top: 0;
  font-size: 1.1rem;
  transition: color var(--transition-base);
}

#articles article:hover h3 {
  color: var(--brand-primary);
}

#articles article p:nth-of-type(1) {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

#articles article p:nth-of-type(2) {
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--gradient-soft);
  border: 1px solid var(--border-soft);
  transition: background var(--transition-base), transform var(--transition-base);
}

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

/* ===== FAQ ===== */
#faq details {
  margin-bottom: 0.7rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

#faq details:last-of-type {
  margin-bottom: 0;
}

#faq details[open] {
  border-color: var(--brand-primary);
  box-shadow: 0 6px 24px rgba(233, 69, 96, 0.15);
}

#faq details summary {
  padding: 0.95rem 2.8rem 0.95rem 1.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  position: relative;
  list-style: none;
  transition: color var(--transition-base), background var(--transition-base);
}

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

#faq details summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--brand-primary);
  transition: transform var(--transition-base), color var(--transition-base);
}

#faq details[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
  color: var(--brand-secondary);
}

#faq details summary:hover {
  background: var(--gradient-soft);
}

#faq details p {
  padding: 0 1.2rem 1.1rem;
  margin: 0;
  font-size: 0.92rem;
  animation: fadeUp 0.35s ease both;
}

/* ===== Contact ===== */
#contact address ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.6rem;
}

#contact address ul li {
  padding: 0.75rem 1rem;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

#contact address ul li:hover {
  border-color: var(--brand-accent);
  transform: translateX(4px);
}

/* ===== Sitemap & Links ===== */
#sitemap ul,
#links ul {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

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

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  color: var(--text-primary);
  background: var(--gradient-soft);
  border-color: var(--brand-primary);
  transform: translateY(-3px);
}

/* ===== Footer ===== */
footer {
  margin-top: 2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border-soft);
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
}

footer > div {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  text-align: center;
}

footer p {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

footer p:first-child {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

footer nav {
  margin-top: 1.2rem;
}

footer nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

footer nav ul li {
  margin: 0;
}

footer nav ul li a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  padding-bottom: 2px;
}

footer nav ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: var(--radius-pill);
  transition: width var(--transition-base);
}

footer nav ul li a:hover {
  color: var(--brand-primary);
}

footer nav ul li a:hover::after {
  width: 100%;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--brand-primary), var(--brand-accent));
  border-radius: var(--radius-pill);
  border: 2px solid var(--bg-base);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--brand-secondary), var(--brand-primary));
}

/* ===== Selection ===== */
::selection {
  background: rgba(233, 69, 96, 0.35);
  color: var(--text-primary);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  header > div {
    gap: 0.6rem 1rem;
  }

  header form input[type="search"] {
    width: 160px;
  }

  header form input[type="search"]:focus {
    width: 190px;
  }
}

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

  header > div {
    padding: 0.6rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  header > div > a {
    justify-content: center;
  }

  header nav ul {
    justify-content: center;
    gap: 0.2rem 0.25rem;
  }

  header nav ul li a {
    padding: 0.35rem 0.6rem;
    font-size: 0.82rem;
  }

  header form {
    justify-content: center;
  }

  header form input[type="search"] {
    flex: 1 1 auto;
    width: auto;
    max-width: 320px;
  }

  header form input[type="search"]:focus {
    width: auto;
  }

  main {
    padding: 1rem 1rem 2.5rem;
  }

  section {
    margin-bottom: 2rem;
    scroll-margin-top: 140px;
  }

  #banner {
    padding: 1.75rem 1.25rem;
  }

  #banner > div {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  h2::after {
    width: 44px;
    height: 3px;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr 1fr;
  }

  footer > div {
    padding: 2rem 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  header > div > a strong {
    font-size: 1rem;
  }

  #sitemap ul,
  #links ul {
    grid-template-columns: 1fr;
  }

  #banner > div article {
    padding: 1.15rem;
  }

  #articles article,
  #news article {
    padding: 1rem;
  }

  #faq details summary {
    font-size: 0.9rem;
    padding-right: 2.4rem;
  }
}

/* ===== Print ===== */
@media print {
  header,
  footer,
  #banner::before,
  #banner::after {
    display: none;
  }

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

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