:root {
  --primary: #ff6b35;
  --primary-dark: #e85520;
  --primary-light: #ff8a5c;
  --secondary: #f7c948;
  --secondary-dark: #e0b030;
  --accent: #ff4757;
  --bg: #fffaf7;
  --bg-alt: #fff3ec;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, 0.72);
  --surface-glass-border: rgba(255, 255, 255, 0.5);
  --text: #1a1a2e;
  --text-secondary: #5a5a72;
  --text-muted: #8a8a9e;
  --border: rgba(255, 107, 53, 0.14);
  --shadow-sm: 0 2px 8px rgba(255, 107, 53, 0.08);
  --shadow-md: 0 8px 28px rgba(255, 107, 53, 0.12);
  --shadow-lg: 0 16px 48px rgba(255, 107, 53, 0.16);
  --shadow-glow: 0 0 32px rgba(255, 107, 53, 0.22);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 64px;
  --max-w: 1200px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12101a;
    --bg-alt: #1a1726;
    --surface: #1e1b2e;
    --surface-glass: rgba(30, 27, 46, 0.72);
    --surface-glass-border: rgba(255, 255, 255, 0.08);
    --text: #f0eef6;
    --text-secondary: #b8b4c8;
    --text-muted: #7a7690;
    --border: rgba(255, 107, 53, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 32px rgba(255, 107, 53, 0.15);
  }
}

*,
*::before,
*::after {
  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%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background var(--transition-base), color var(--transition-base);
}

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

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

a:hover {
  color: var(--primary-dark);
}

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

ul,
ol {
  list-style: none;
}

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

h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  position: relative;
  padding-bottom: 0.6em;
  margin-bottom: 0.8em;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: width var(--transition-slow);
}

section:hover > h2::after {
  width: 88px;
}

h3 {
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}

h4 {
  font-size: 1.1rem;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  color: var(--primary-dark);
}

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

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

address {
  font-style: normal;
}

blockquote {
  position: relative;
  margin: 1.5em 0;
  padding: 1.2em 1.5em 1.2em 3.2em;
  background: var(--surface);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.8em;
  top: 0.2em;
  font-size: 3rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.35;
  font-family: Georgia, serif;
}

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

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

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: var(--surface-glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--surface-glass-border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

header > a:first-child {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  white-space: nowrap;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

header > a:first-child:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

header nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

header nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

header nav ul li a {
  display: inline-block;
  padding: 0.4em 0.75em;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

header nav ul li a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}

main {
  padding-top: var(--header-h);
}

main > section,
main > nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
}

main > section + section,
main > section + nav,
main > nav + section {
  border-top: 1px solid var(--border);
}

#hero {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8a5c 30%, #f7c948 100%);
  background-size: 200% 200%;
  animation: heroGradient 12s ease infinite;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: var(--shadow-glow);
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.25), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15), transparent 50%);
  pointer-events: none;
}

#hero > * {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

#hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  margin-bottom: 0.6em;
  animation: fadeUp 0.8s var(--transition-slow) both;
}

#hero p {
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
  animation: fadeUp 0.8s 0.15s var(--transition-slow) both;
}

#hero figure {
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeUp 0.8s 0.3s var(--transition-slow) both;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

#hero figure svg {
  width: 100%;
  height: auto;
  display: block;
}

#hero figcaption {
  padding: 0.75em 1em;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: center;
}

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

nav[aria-label="面包屑导航"] ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

nav[aria-label="面包屑导航"] ol li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav[aria-label="面包屑导航"] ol li + li::before {
  content: "/";
  margin: 0 0.4em;
  color: var(--text-muted);
  opacity: 0.6;
}

nav[aria-label="面包屑导航"] ol li a {
  color: var(--text-secondary);
  padding: 0.2em 0.5em;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.08);
}

#brand ul,
#products ul,
#solutions ul,
#scenarios ul {
  display: grid;
  gap: 0.75rem;
}

#brand ul li,
#products ul li,
#solutions ul li,
#scenarios ul li {
  position: relative;
  padding: 0.85em 1.2em 0.85em 2.8em;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#brand ul li::before,
#products ul li::before,
#solutions ul li::before,
#scenarios ul li::before {
  content: "";
  position: absolute;
  left: 1.1em;
  top: 1.35em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#brand ul li:hover,
#products ul li:hover,
#solutions ul li:hover,
#scenarios ul li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.35);
}

#brand ul li:hover::before,
#products ul li:hover::before,
#solutions ul li:hover::before,
#scenarios ul li:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 0 5px rgba(255, 107, 53, 0.2);
}

#products h4 {
  padding-left: 0.9em;
  border-left: 3px solid var(--primary);
}

#products h4 + p {
  padding-left: 0.9em;
}

#cases article {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#cases article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.3);
}

#news article {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  margin-bottom: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#news article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

#news article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.3);
}

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

#news article h3 {
  margin-top: 0;
  font-size: 1.15rem;
  transition: color var(--transition-fast);
}

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

#news article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 107, 53, 0.08);
  padding: 0.2em 0.8em;
  border-radius: var(--radius-full);
  margin-bottom: 0.6em;
}

#news article a,
#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: gap var(--transition-fast), color var(--transition-fast);
}

#news article a::after,
#articles article a::after {
  content: "\2192";
  transition: transform var(--transition-fast);
}

#news article a:hover,
#articles article a:hover {
  gap: 0.6em;
  color: var(--primary-dark);
}

#news article a:hover::after,
#articles article a:hover::after {
  transform: translateX(3px);
}

#articles {
  display: block;
}

#articles article {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.3);
}

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

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

#articles article time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(255, 107, 53, 0.08);
  padding: 0.2em 0.8em;
  border-radius: var(--radius-full);
  margin-bottom: 0.6em;
}

#faq details {
  margin-bottom: 0.9rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

#faq details:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.3);
}

#faq details[open] {
  border-color: rgba(255, 107, 53, 0.4);
  box-shadow: var(--shadow-md);
}

#faq summary {
  position: relative;
  padding: 1.1em 3.2em 1.1em 1.4em;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition-fast), background var(--transition-fast);
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 1.2em;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--primary);
  background: rgba(255, 107, 53, 0.1);
  border-radius: 50%;
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
}

#faq details[open] summary {
  color: var(--primary);
  background: rgba(255, 107, 53, 0.05);
}

#faq details[open] summary::after {
  content: "\2212";
  transform: translateY(-50%) rotate(180deg);
  background: var(--primary);
  color: #fff;
}

#faq details p {
  padding: 0 1.4em 1.3em;
  margin-bottom: 0;
  animation: fadeUp 0.35s ease both;
}

#howto ol {
  counter-reset: step;
  display: grid;
  gap: 0.9rem;
  margin: 1.5rem 0;
}

#howto ol li {
  position: relative;
  counter-increment: step;
  padding: 1.1em 1.4em 1.1em 3.8em;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--text-secondary);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 1em;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
  transition: transform var(--transition-fast);
}

#howto ol li:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 53, 0.35);
}

#howto ol li:hover::before {
  transform: translateY(-50%) scale(1.12);
}

#howto ul {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0;
}

#howto ul li {
  position: relative;
  padding: 0.7em 1.2em 0.7em 2.4em;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

#howto ul li::before {
  content: "\2713";
  position: absolute;
  left: 0.9em;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
}

#howto ul li:hover {
  transform: translateX(4px);
  background: rgba(255, 107, 53, 0.08);
}

#contact address {
  display: grid;
  gap: 0.6rem;
  padding: 1.75rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

#contact address p {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

#contact address p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

#contact address p:hover {
  transform: translateX(4px);
  color: var(--text);
}

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

#sitemap ul,
#links ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

#sitemap ul li a,
#links ul li a {
  display: block;
  padding: 0.85em 1.2em;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base), color var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}

#sitemap ul li a:hover,
#links ul li a:hover {
  transform: translateY(-4px);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 4vw, 2rem) 1.5rem;
}

footer section {
  max-width: var(--max-w);
  margin: 0 auto 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

footer section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

footer h2 {
  font-size: 1.1rem;
  padding-bottom: 0.5em;
  margin-bottom: 0.6em;
}

footer h2::after {
  width: 36px;
  height: 3px;
}

footer p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.4em;
}

#copyright p {
  color: var(--text-secondary);
}

#meta-info p {
  display: inline-block;
  margin-right: 1.5em;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

@keyframes heroGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

section {
  animation: fadeIn 0.6s ease both;
}

@media (min-width: 640px) {
  #articles article {
    width: calc(50% - 0.7rem);
    margin-right: 1.4rem;
  }
  #articles article:nth-child(2n) {
    margin-right: 0;
  }
}

@media (min-width: 1024px) {
  body {
    font-size: 17px;
  }
  #articles article {
    width: calc(33.333% - 0.95rem);
  }
  #articles article:nth-child(2n) {
    margin-right: 1.4rem;
  }
  #articles article:nth-child(3n) {
    margin-right: 0;
  }
  #brand ul,
  #products ul {
    grid-template-columns: repeat(2, 1fr);
  }
  #solutions ul,
  #scenarios ul {
    grid-template-columns: repeat(2, 1fr);
  }
  #contact address {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 56px;
  }
  header {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--header-h);
    padding: 0.5rem 1rem;
    gap: 0.5rem;
  }
  header > a:first-child {
    font-size: 1.05rem;
  }
  header nav {
    flex: 1 1 100%;
    order: 3;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.25rem;
  }
  header nav::-webkit-scrollbar {
    display: none;
  }
  header nav ul {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.15rem;
  }
  header nav ul li a {
    font-size: 0.8rem;
    padding: 0.35em 0.65em;
  }
  main {
    padding-top: calc(var(--header-h) + 16px);
  }
  #hero {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }
  #hero figure {
    margin-top: 1.75rem;
  }
  blockquote {
    padding: 1em 1.2em 1em 2.6em;
  }
  blockquote::before {
    font-size: 2.4rem;
    left: 0.6em;
  }
  #contact address {
    padding: 1.25rem;
  }
  #meta-info p {
    display: block;
    margin-right: 0;
  }
}

@media (max-width: 400px) {
  header nav ul li a {
    font-size: 0.75rem;
    padding: 0.3em 0.5em;
  }
  #hero {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  header,
  footer,
  #hero figure {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
}

::selection {
  background: rgba(255, 107, 53, 0.25);
  color: var(--text);
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}