:root {
  --bg-primary: #0d0d1a;
  --bg-secondary: #1a1a2e;
  --bg-card: rgba(26, 26, 46, 0.65);
  --bg-card-hover: rgba(35, 35, 60, 0.85);
  --bg-glass: rgba(22, 33, 62, 0.55);
  --text-primary: #eaeaf2;
  --text-secondary: #a8a8c0;
  --text-muted: #6e6e8a;
  --accent: #e94560;
  --accent-secondary: #f5c518;
  --accent-glow: rgba(233, 69, 96, 0.35);
  --border-color: rgba(233, 69, 96, 0.15);
  --border-glass: rgba(255, 255, 255, 0.08);
  --gradient-hero: linear-gradient(135deg, #0d0d1a 0%, #1a1a2e 40%, #16213e 70%, #0f3460 100%);
  --gradient-accent: linear-gradient(135deg, #e94560 0%, #f5c518 100%);
  --gradient-card: linear-gradient(145deg, rgba(26, 26, 46, 0.8), rgba(15, 52, 96, 0.4));
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--accent-glow);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-sans: -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.4, 0, 0.2, 1);
  --max-width: 1200px;
  --header-height: 80px;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-primary: #f4f4f8;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-hover: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.6);
    --text-primary: #1a1a2e;
    --text-secondary: #4a4a6a;
    --text-muted: #8a8aa0;
    --border-color: rgba(233, 69, 96, 0.12);
    --border-glass: rgba(26, 26, 46, 0.08);
    --gradient-hero: linear-gradient(135deg, #f4f4f8 0%, #e8e8f0 40%, #dce4f0 70%, #d0dce8 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.85), rgba(240, 242, 250, 0.5));
    --shadow-sm: 0 2px 8px rgba(26, 26, 46, 0.08);
    --shadow-md: 0 8px 24px rgba(26, 26, 46, 0.1);
    --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.12);
    --shadow-glow: 0 0 20px rgba(233, 69, 96, 0.15);
  }
}

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

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

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 600px 400px at 10% 5%, rgba(233, 69, 96, 0.08), transparent),
    radial-gradient(ellipse 500px 500px at 90% 15%, rgba(245, 197, 24, 0.05), transparent),
    radial-gradient(ellipse 700px 400px at 50% 90%, rgba(15, 52, 96, 0.15), transparent);
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

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

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

a:hover {
  color: var(--accent-secondary);
}

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

ul,
ol {
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.4em;
}

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

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

::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}

header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

header[role="banner"]:hover {
  box-shadow: var(--shadow-md);
}

.header-top {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-info h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.3;
  transition: filter var(--transition-base);
}

.brand-info h1:hover {
  filter: brightness(1.2) drop-shadow(0 0 8px var(--accent-glow));
}

.tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

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

.main-nav li {
  margin: 0;
}

.main-nav a {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
  transition: width var(--transition-base), left var(--transition-base);
}

.main-nav a:hover {
  color: var(--text-primary);
  background: rgba(233, 69, 96, 0.08);
  transform: translateY(-1px);
}

.main-nav a:hover::after {
  width: 60%;
  left: 20%;
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 56px 0;
  position: relative;
}

section + section {
  border-top: 1px solid var(--border-glass);
}

section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
}

section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: var(--gradient-accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-primary);
  position: relative;
  padding-left: 14px;
}

section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-secondary);
  box-shadow: 0 0 8px rgba(245, 197, 24, 0.5);
}

section p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-size: 0.95rem;
}

section > ul,
section > ol {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

section li {
  font-size: 0.93rem;
}

section li strong {
  color: var(--accent-secondary);
  font-weight: 600;
}

#hero {
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  z-index: -1;
  opacity: 0.6;
}

#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 2px at 15% 20%, rgba(233, 69, 96, 0.6), transparent),
    radial-gradient(circle 1.5px at 45% 10%, rgba(245, 197, 24, 0.5), transparent),
    radial-gradient(circle 2px at 75% 30%, rgba(233, 69, 96, 0.4), transparent),
    radial-gradient(circle 1px at 30% 60%, rgba(245, 197, 24, 0.4), transparent),
    radial-gradient(circle 1.5px at 85% 70%, rgba(233, 69, 96, 0.5), transparent),
    radial-gradient(circle 1px at 60% 85%, rgba(245, 197, 24, 0.3), transparent);
  z-index: -1;
  pointer-events: none;
  animation: twinkle 6s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 0.4; }
}

#hero h2 {
  font-size: 2.1rem;
  text-align: center;
  padding-left: 0;
  margin-bottom: 24px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 0.8s ease-out both;
}

#hero h2::before {
  display: none;
}

.hero-lead {
  font-size: 1.05rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 20px;
  color: var(--text-secondary);
  animation: fadeInUp 0.8s 0.1s ease-out both;
}

#hero > p:not(.hero-lead) {
  max-width: 860px;
  margin: 0 auto 24px;
  animation: fadeInUp 0.8s 0.2s ease-out both;
}

.hero-quick-answer {
  background: var(--bg-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 32px auto;
  max-width: 860px;
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.8s 0.3s ease-out both;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.hero-quick-answer:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-color);
}

.hero-quick-answer h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: var(--accent-secondary);
}

.hero-quick-answer h3::before {
  background: var(--accent);
}

.hero-quick-answer ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.hero-quick-answer li {
  padding: 10px 14px;
  background: rgba(233, 69, 96, 0.06);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-quick-answer li:hover {
  background: rgba(233, 69, 96, 0.12);
  transform: translateX(4px);
}

#hero figure {
  margin: 32px auto 0;
  max-width: 860px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
  animation: fadeInUp 0.8s 0.4s ease-out both;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

#hero figure:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-lg), 0 0 40px var(--accent-glow);
}

#hero figcaption {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 12px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

#brand,
#products,
#solutions,
#cases,
#news,
#articles,
#faq,
#howto,
#contact,
#sitemap {
  animation: fadeInUp 0.6s ease-out both;
}

#brand h3,
#products h3,
#solutions h3,
#cases h3,
#news h3,
#articles h3,
#howto h3,
#contact h3,
#sitemap h3 {
  transition: color var(--transition-fast);
}

#brand h3:hover,
#products h3:hover,
#solutions h3:hover,
#cases h3:hover,
#news h3:hover,
#articles h3:hover,
#howto h3:hover,
#contact h3:hover,
#sitemap h3:hover {
  color: var(--accent-secondary);
}

#products ul,
#brand ul,
#solutions ul,
#cases ul,
#contact ul,
#sitemap ul,
#howto ul,
#howto ol {
  list-style: none;
  padding-left: 0;
}

#products > ul > li,
#brand > ul > li,
#solutions > ul > li,
#cases > ul > li,
#contact > ul > li,
#sitemap > ul > li,
#howto > ul > li {
  padding: 12px 18px;
  margin-bottom: 10px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}

#products > ul > li:hover,
#brand > ul > li:hover,
#solutions > ul > li:hover,
#cases > ul > li:hover,
#contact > ul > li:hover,
#sitemap > ul > li:hover,
#howto > ul > li:hover {
  transform: translateX(6px);
  border-color: var(--border-color);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-sm);
}

#contact ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

#contact ul li {
  margin-bottom: 0;
}

#sitemap > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#sitemap > ul li {
  margin-bottom: 0;
  padding: 8px 16px;
  font-size: 0.88rem;
}

#sitemap > ul li a {
  color: var(--text-secondary);
}

#sitemap > ul li a:hover {
  color: var(--accent);
}

#news article,
#articles article {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), 0 0 24px rgba(233, 69, 96, 0.1);
  border-color: var(--border-color);
}

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

#news article h3,
#articles article h3 {
  margin-top: 0;
  padding-left: 0;
  font-size: 1.1rem;
}

#news article h3::before,
#articles article h3::before {
  display: none;
}

#news time,
#articles time {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: rgba(245, 197, 24, 0.08);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(245, 197, 24, 0.15);
}

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

#articles article a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(233, 69, 96, 0.1);
  border: 1px solid rgba(233, 69, 96, 0.25);
  transition: all var(--transition-fast);
}

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

#articles article a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

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

#faq details {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

#faq details:hover {
  border-color: var(--border-color);
  background: var(--bg-card-hover);
}

#faq details[open] {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm), 0 0 16px rgba(233, 69, 96, 0.1);
}

#faq summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 48px;
  transition: color var(--transition-fast);
  user-select: none;
}

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

#faq summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform var(--transition-base), color var(--transition-fast);
}

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

#faq summary:hover {
  color: var(--accent);
}

#faq details p {
  padding: 0 20px 16px;
  margin: 0;
  font-size: 0.9rem;
  animation: fadeIn 0.3s ease-out;
}

#howto ol {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
}

#howto ol li {
  counter-increment: step-counter;
  position: relative;
  padding: 14px 18px 14px 56px;
  margin-bottom: 10px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#howto ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px var(--accent-glow);
}

#howto ol li:hover {
  transform: translateX(6px);
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

#cases ul li {
  position: relative;
  padding-left: 32px;
}

#cases ul li::before {
  content: "\201C";
  position: absolute;
  left: 8px;
  top: 4px;
  font-size: 1.6rem;
  color: var(--accent);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
}

footer[role="contentinfo"] {
  margin-top: 40px;
  padding: 32px 24px;
  text-align: center;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  position: relative;
  overflow: hidden;
}

footer[role="contentinfo"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  opacity: 0.6;
}

footer[role="contentinfo"] p {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
  transition: color var(--transition-fast);
}

footer[role="contentinfo"] p:hover {
  color: var(--text-secondary);
}

footer[role="contentinfo"] p:first-child {
  color: var(--text-secondary);
  font-weight: 500;
}

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

section {
  animation: fadeInUp 0.7s ease-out both;
}

@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 (max-width: 1024px) {
  .header-top {
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .main-nav ul {
    justify-content: center;
  }

  #hero h2 {
    font-size: 1.7rem;
  }

  section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 120px;
  }

  body {
    font-size: 15px;
  }

  .header-top {
    padding: 12px 16px;
  }

  .brand-info h1 {
    font-size: 1.35rem;
  }

  .tagline {
    font-size: 0.72rem;
  }

  .main-nav ul {
    gap: 2px;
  }

  .main-nav a {
    padding: 5px 10px;
    font-size: 0.78rem;
  }

  main {
    padding: 0 16px;
  }

  section {
    padding: 40px 0;
  }

  section h2 {
    font-size: 1.3rem;
    padding-left: 14px;
  }

  section h2::before {
    width: 3px;
  }

  section h3 {
    font-size: 1.05rem;
  }

  #hero {
    padding: 48px 0 40px;
  }

  #hero h2 {
    font-size: 1.4rem;
  }

  .hero-lead {
    font-size: 0.95rem;
  }

  .hero-quick-answer {
    padding: 20px;
    margin: 24px auto;
  }

  .hero-quick-answer ul {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-quick-answer li {
    font-size: 0.85rem;
    padding: 8px 12px;
  }

  #hero figure {
    margin-top: 24px;
  }

  #hero figcaption {
    font-size: 0.75rem;
    padding: 10px;
  }

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

  #news article,
  #articles article {
    padding: 18px 20px;
  }

  #news article h3,
  #articles article h3 {
    font-size: 1rem;
  }

  #faq summary {
    padding: 14px 16px;
    padding-right: 44px;
    font-size: 0.88rem;
  }

  #faq summary::after {
    right: 16px;
  }

  #faq details p {
    padding: 0 16px 14px;
    font-size: 0.85rem;
  }

  #howto ol li {
    padding: 12px 14px 12px 48px;
    font-size: 0.88rem;
  }

  #howto ol li::before {
    left: 12px;
    width: 24px;
    height: 24px;
    font-size: 0.72rem;
  }

  #sitemap > ul {
    flex-direction: column;
  }

  #sitemap > ul li {
    width: 100%;
  }

  footer[role="contentinfo"] {
    padding: 24px 16px;
  }

  footer[role="contentinfo"] p {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .brand-info h1 {
    font-size: 1.15rem;
    letter-spacing: 1px;
  }

  .main-nav a {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  #hero h2 {
    font-size: 1.2rem;
  }

  section h2 {
    font-size: 1.15rem;
  }

  section h3 {
    font-size: 0.98rem;
  }

  #hero svg {
    height: auto;
  }
}

@media (min-width: 1400px) {
  :root {
    --max-width: 1320px;
  }

  #hero h2 {
    font-size: 2.4rem;
  }

  section h2 {
    font-size: 2rem;
  }
}

@media print {
  header[role="banner"],
  footer[role="contentinfo"],
  #hero figure,
  .hero-quick-answer {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  section {
    padding: 20px 0;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  #faq details {
    border: 1px solid #ccc;
  }

  #faq details[open] p {
    display: block;
  }
}