:root {
  --orange: #FF7A00;
  --orange-light: #FFB74D;
  --orange-pale: #FFF3E0;
  --orange-deep: #EF6C00;
  --brown: #5D4037;
  --text: #2D2A26;
  --text-soft: #5C554D;
  --bg: #FFFBF5;
  --bg-alt: #FFFFFF;
  --card: rgba(255, 255, 255, 0.72);
  --card-border: rgba(255, 122, 0, 0.16);
  --glass: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow: 0 8px 28px rgba(255, 122, 0, 0.12);
  --shadow-hover: 0 16px 40px rgba(255, 122, 0, 0.22);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --header-h: 72px;
  --maxw: 1180px;
  --grad-hero: linear-gradient(135deg, #FF9A3D 0%, #FF7A00 45%, #EF6C00 100%);
  --grad-soft: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  --grad-text: linear-gradient(120deg, #EF6C00, #FF9A3D);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
  --text: #F3EDE6;
  --text-soft: #C9BFB4;
  --bg: #14100C;
  --bg-alt: #1C1712;
  --card: rgba(40, 32, 24, 0.68);
  --card-border: rgba(255, 154, 61, 0.22);
  --glass: rgba(30, 24, 18, 0.55);
  --glass-border: rgba(255, 154, 61, 0.18);
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.6);
  --grad-soft: linear-gradient(135deg, #2A2118 0%, #3A2A18 100%);
}

*,
*::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: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255, 154, 61, 0.14), transparent 42%),
    radial-gradient(circle at 88% 4%, rgba(255, 183, 77, 0.16), transparent 40%),
    radial-gradient(circle at 50% 100%, rgba(255, 122, 0, 0.08), transparent 55%);
  background-attachment: fixed;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
  overflow-x: hidden;
}

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

a {
  color: var(--orange-deep);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

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

h1, h2, h3, h4 {
  line-height: 1.35;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  margin: 0 0 0.6em;
}

h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  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: 6px;
  background: var(--grad-hero);
  box-shadow: 0 0 14px rgba(255, 122, 0, 0.5);
}

h3 {
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  margin: 1.6em 0 0.5em;
  color: var(--orange-deep);
}

[data-theme="dark"] h3 {
  color: var(--orange-light);
}

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

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

li {
  margin-bottom: 0.35em;
  color: var(--text-soft);
}

blockquote {
  margin: 1em 0;
  padding: 16px 20px;
  border-left: 4px solid var(--orange);
  border-radius: var(--radius-sm);
  background: var(--grad-soft);
  color: var(--text);
  font-style: normal;
  box-shadow: var(--shadow);
}

blockquote p {
  margin: 0;
  color: var(--text);
}

time {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--orange-deep);
  background: rgba(255, 122, 0, 0.1);
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

[data-theme="dark"] time {
  color: var(--orange-light);
  background: rgba(255, 154, 61, 0.14);
}

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

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

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.brand svg {
  width: 40px;
  height: 40px;
  transition: transform 0.5s var(--ease), filter 0.4s var(--ease);
  filter: drop-shadow(0 4px 10px rgba(255, 122, 0, 0.4));
}

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

.brand span {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

#site-header nav {
  flex: 1 1 auto;
}

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

.nav-list li {
  margin: 0;
}

.nav-list a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  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: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-hero);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--orange-deep);
  background: rgba(255, 122, 0, 0.08);
  transform: translateY(-1px);
}

[data-theme="dark"] .nav-list a:hover {
  color: var(--orange-light);
}

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

.site-search {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 2px 6px rgba(255, 122, 0, 0.06);
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-search:focus-within {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
}

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

.site-search input::placeholder {
  color: var(--text-soft);
  opacity: 0.7;
}

.site-search button {
  border: 0;
  cursor: pointer;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-hero);
  font-family: inherit;
  transition: filter 0.25s var(--ease);
}

.site-search button:hover {
  filter: brightness(1.08);
}

#theme-toggle,
#menu-toggle {
  border: 1px solid var(--card-border);
  background: var(--bg-alt);
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

#theme-toggle:hover,
#menu-toggle:hover {
  background: var(--grad-hero);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.32);
}

#menu-toggle {
  display: none;
}

/* ===== Main layout ===== */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 60px;
}

main > section {
  margin: 40px 0;
  padding: clamp(20px, 3vw, 38px);
  background: var(--card);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 16px);
}

main > section:hover {
  box-shadow: var(--shadow-hover);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
  margin: 20px 0 0;
  font-size: 0.85rem;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  color: var(--text-soft);
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 6px;
  color: var(--orange);
  font-weight: 700;
}

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

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

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

/* ===== Hero ===== */
#hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  border: 0;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 60px);
  box-shadow: 0 20px 60px rgba(239, 108, 0, 0.35);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35), transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: floatOrb 14s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  inset: auto auto -30% -8%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(255, 224, 178, 0.4), transparent 65%);
  border-radius: 50%;
  z-index: -1;
  animation: floatOrb 18s ease-in-out infinite reverse;
}

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

#hero h1,
#hero h2,
#hero h3 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(120, 50, 0, 0.35);
}

#hero h2::before {
  background: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
}

#hero .lead {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  max-width: 900px;
  text-shadow: 0 1px 10px rgba(120, 50, 0, 0.25);
}

#hero a {
  color: #fff;
  text-decoration: underline;
}

/* Carousel */
.hero-carousel {
  position: relative;
  margin: 28px 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 36px rgba(120, 50, 0, 0.25);
}

.hero-carousel .slide {
  display: none;
  animation: fadeSlide 0.6s var(--ease);
}

.hero-carousel .slide[data-index="0"] {
  display: block;
}

.hero-carousel .slide svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
}

@keyframes fadeSlide {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.carousel-controls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  gap: 8px;
}

.carousel-controls button {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.carousel-controls button:hover {
  background: #fff;
  color: var(--orange-deep);
  transform: translateY(-2px);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.stat {
  text-align: center;
  padding: 18px 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

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

.stat .num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(120, 50, 0, 0.35);
}

.stat .label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 4px;
}

/* ===== Anchor nav ===== */
.anchor-nav {
  margin: 28px 0;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow);
}

.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.82rem;
  font-weight: 600;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-soft);
  border: 1px solid var(--card-border);
  transition: all 0.28s var(--ease);
}

.anchor-nav a:hover {
  background: var(--grad-hero);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.3);
}

/* ===== Articles / News cards ===== */
#news article,
#articles article {
  position: relative;
  padding: 20px 22px;
  margin: 16px 0;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  box-shadow: 0 4px 16px rgba(255, 122, 0, 0.08);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--grad-hero);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}

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

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

#news article h3,
#articles article h3 {
  margin-top: 0;
  color: var(--text);
}

#news article h3 a,
#articles article h3 a {
  color: inherit;
}

#articles article a {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange-deep);
  position: relative;
  padding-right: 18px;
}

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

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

[data-theme="dark"] #articles article a {
  color: var(--orange-light);
}

/* ===== FAQ ===== */
#faq details {
  margin: 12px 0;
  padding: 0;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  box-shadow: 0 3px 12px rgba(255, 122, 0, 0.07);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

#faq details[open] {
  border-color: var(--orange-light);
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.16);
}

#faq summary {
  cursor: pointer;
  padding: 16px 46px 16px 20px;
  font-weight: 700;
  color: var(--text);
  position: relative;
  list-style: none;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
  border-radius: var(--radius);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  transition: transform 0.35s var(--ease), color 0.25s var(--ease);
}

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

#faq summary:hover {
  background: rgba(255, 122, 0, 0.06);
  color: var(--orange-deep);
}

#faq details p {
  padding: 0 20px 18px;
  margin: 0;
  animation: fadeIn 0.4s var(--ease);
}

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

/* ===== Contact ===== */
#contact address {
  font-style: normal;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--grad-soft);
  border: 1px solid var(--card-border);
  margin-bottom: 20px;
}

#contact address p {
  margin: 0.35em 0;
  color: var(--text);
}

#contact address a {
  font-weight: 700;
}

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

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

#sitemap a,
#links a {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--card-border);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all 0.28s var(--ease);
}

#sitemap a:hover,
#links a:hover {
  background: var(--grad-hero);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 122, 0, 0.28);
}

/* ===== Footer ===== */
footer {
  margin-top: 40px;
  padding: 34px 20px 46px;
  text-align: center;
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
}

footer p {
  margin: 0.4em 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

footer a {
  color: var(--orange-deep);
  font-weight: 600;
}

[data-theme="dark"] footer a {
  color: var(--orange-light);
}

/* ===== Back to top ===== */
#back-to-top {
  position: fixed;
  right: 22px;
  bottom: 26px;
  z-index: 90;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--grad-hero);
  box-shadow: 0 10px 26px rgba(239, 108, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s var(--ease), filter 0.25s var(--ease);
}

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

#back-to-top:hover {
  filter: brightness(1.1);
  transform: translateY(-4px);
}

/* ===== Scroll reveal ===== */
.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) {
  *,
  *::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;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header-inner {
    gap: 12px;
  }
  .site-search input {
    width: 130px;
  }
  .nav-list a {
    padding: 6px 9px;
    font-size: 0.84rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }
  #menu-toggle {
    display: inline-block;
    margin-left: auto;
  }
  #site-header nav {
    order: 10;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
  }
  #site-header nav.is-open {
    max-height: 520px;
  }
  .nav-list {
    flex-direction: column;
    padding: 8px 0;
    gap: 2px;
  }
  .nav-list a {
    display: block;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
  }
  .nav-list a::after {
    display: none;
  }
  .site-search {
    order: 11;
    flex-basis: 100%;
    margin-top: 8px;
    display: none;
  }
  #site-header nav.is-open ~ .site-search,
  .site-search.is-open {
    display: flex;
  }
  .site-search input {
    width: 100%;
    flex: 1;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }
  main {
    padding: 0 14px 40px;
  }
  main > section {
    margin: 26px 0;
    border-radius: var(--radius);
  }
  #hero {
    border-radius: var(--radius);
  }
  .header-inner {
    padding: 8px 14px;
  }
  .brand {
    font-size: 1rem;
  }
  .brand svg {
    width: 34px;
    height: 34px;
  }
  #theme-toggle,
  #menu-toggle {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .carousel-controls {
    right: 8px;
    bottom: 8px;
  }
  .carousel-controls button {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 14px 8px;
  }
  #back-to-top {
    right: 14px;
    bottom: 16px;
    padding: 10px 14px;
    font-size: 0.76rem;
  }
  #news article,
  #articles article {
    padding: 16px 16px;
  }
  #faq summary {
    padding: 14px 42px 14px 16px;
    font-size: 0.94rem;
  }
  #faq details p {
    padding: 0 16px 16px;
  }
}

@media (max-width: 380px) {
  .stats {
    grid-template-columns: 1fr;
  }
  .brand span {
    display: none;
  }
}