:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --primary-light: #ff6b81;
  --accent: #f1c40f;
  --accent-2: #3498db;
  --accent-3: #2ecc71;
  --bg: #f7f8fc;
  --bg-alt: #ffffff;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-glass-strong: rgba(255, 255, 255, 0.88);
  --text: #1d1d2b;
  --text-soft: #4a4a5e;
  --text-muted: #6b6b80;
  --border: rgba(29, 29, 43, 0.1);
  --border-strong: rgba(29, 29, 43, 0.16);
  --shadow-sm: 0 2px 8px rgba(29, 29, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(29, 29, 43, 0.08);
  --shadow-lg: 0 16px 48px rgba(29, 29, 43, 0.12);
  --shadow-glow: 0 8px 32px rgba(230, 57, 70, 0.28);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 999px;
  --header-h: 68px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --grad-hero: linear-gradient(135deg, #e63946 0%, #b5179e 45%, #3a0ca3 100%);
  --grad-accent: linear-gradient(135deg, #f1c40f 0%, #e63946 100%);
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(247,248,252,0.7));
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101018;
    --bg-alt: #171724;
    --bg-elevated: #1d1d2b;
    --bg-glass: rgba(29, 29, 43, 0.62);
    --bg-glass-strong: rgba(29, 29, 43, 0.86);
    --text: #f1f1f6;
    --text-soft: #c4c4d4;
    --text-muted: #9a9ab0;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.18);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --grad-card: linear-gradient(145deg, rgba(29,29,43,0.9), rgba(23,23,36,0.7));
    color-scheme: dark;
  }
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 12% 0%, rgba(230, 57, 70, 0.1), transparent 60%),
    radial-gradient(50% 40% at 88% 8%, rgba(58, 12, 163, 0.1), transparent 60%),
    radial-gradient(40% 40% at 50% 100%, rgba(241, 196, 15, 0.08), transparent 60%);
  pointer-events: none;
}

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

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

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

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

ul, ol {
  list-style: none;
}

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

h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }

p { color: var(--text-soft); }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding: 10px clamp(16px, 4vw, 40px);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.4s var(--ease), box-shadow 0.3s var(--ease), border-color 0.4s var(--ease);
}

header:hover {
  box-shadow: var(--shadow-sm);
}

header > div {
  flex-shrink: 0;
}

header > div > a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text);
  padding: 6px 4px;
  position: relative;
}

header > div > a::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--grad-hero);
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease);
}

header > div > a::after {
  content: "";
  position: absolute;
  left: 44px;
  bottom: 2px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-accent);
  transition: width 0.35s var(--ease-out);
}

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

header > div > a:hover::before {
  transform: rotate(-8deg) scale(1.06);
  box-shadow: 0 10px 36px rgba(230, 57, 70, 0.45);
}

header > div > a:hover::after {
  width: calc(100% - 44px);
}

header nav {
  flex: 1;
  min-width: 0;
}

header nav > ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

header nav > ul > li > a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  position: relative;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

header nav > ul > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}

header nav > ul > li > a:hover,
header nav > ul > li > a:focus-visible {
  color: var(--primary);
  background: rgba(230, 57, 70, 0.08);
  transform: translateY(-1px);
}

header nav > ul > li > a:hover::after {
  width: 40%;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 80px;
}

main > nav[aria-label="面包屑导航"] {
  margin: 20px 0 0;
  font-size: 0.85rem;
}

main > nav[aria-label="面包屑导航"] ol {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-muted);
}

main > nav[aria-label="面包屑导航"] ol li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

main > nav[aria-label="面包屑导航"] ol li + li::before {
  content: "/";
  color: var(--border-strong);
  font-weight: 400;
}

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

main > nav[aria-label="面包屑导航"] ol li a:hover {
  color: var(--primary);
}

section {
  margin-top: clamp(40px, 6vw, 72px);
  scroll-margin-top: calc(var(--header-h) + 24px);
  animation: fadeUp 0.7s var(--ease-out) both;
  animation-timeline: view();
  animation-range: entry 0% entry 30%;
}

@supports not (animation-timeline: view()) {
  section {
    animation: fadeUp 0.6s var(--ease-out) both;
  }
}

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

section > h2 {
  position: relative;
  padding-left: 18px;
  margin-bottom: 22px;
}

section > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  bottom: 0.18em;
  width: 6px;
  border-radius: var(--radius-full);
  background: var(--grad-hero);
  box-shadow: var(--shadow-glow);
}

section > h3 {
  margin: 28px 0 10px;
  color: var(--text);
  position: relative;
  padding-left: 14px;
}

section > h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.28em;
  width: 4px;
  border-radius: var(--radius-full);
  background: var(--grad-accent);
  opacity: 0.9;
}

section > p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-soft);
}

section > ul,
section > ol {
  margin: 14px 0 18px;
  padding-left: 0;
  display: grid;
  gap: 10px;
}

section > ul > li,
section > ol > li {
  position: relative;
  padding: 12px 18px 12px 46px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

section > ul > li::before,
section > ol > li::before {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  color: #fff;
  background: var(--grad-hero);
  box-shadow: 0 2px 8px rgba(230, 57, 70, 0.35);
}

section > ul > li::before {
  content: "✓";
}

section > ol {
  counter-reset: step-counter;
}

section > ol > li {
  counter-increment: step-counter;
}

section > ol > li::before {
  content: counter(step-counter);
}

section > ul > li:hover,
section > ol > li:hover {
  transform: translateX(4px);
  border-color: rgba(230, 57, 70, 0.35);
  box-shadow: var(--shadow-md);
}

#hero {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 85% 15%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(50% 70% at 10% 90%, rgba(241, 196, 15, 0.25), transparent 60%);
  z-index: -1;
  pointer-events: none;
}

#hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 60px rgba(255, 255, 255, 0.08);
  pointer-events: none;
  animation: floatOrb 14s ease-in-out infinite;
}

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

#hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 4.2vw, 2.7rem);
  line-height: 1.28;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
  max-width: 24em;
}

#hero p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.85;
  margin-bottom: 14px;
  max-width: 62em;
}

#hero figure {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(29, 29, 43, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

#hero figure:hover {
  transform: translateY(-6px) scale(1.006);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

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

#hero figcaption {
  padding: 12px 18px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  letter-spacing: 0.02em;
}

#about,
#products,
#solutions,
#cases,
#news,
#articles,
#knowledge,
#faq,
#howto,
#notice,
#contact,
#sitemap,
#links {
  padding: clamp(22px, 3.5vw, 38px);
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

#about:hover,
#products:hover,
#solutions:hover,
#cases:hover,
#news:hover,
#articles:hover,
#knowledge:hover,
#faq:hover,
#howto:hover,
#notice:hover,
#contact:hover,
#sitemap:hover,
#links:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(230, 57, 70, 0.22);
}

#products > ul {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 18px;
}

#products > ul > li {
  padding: 18px 18px 18px 52px;
  background: var(--grad-card);
}

#cases blockquote {
  margin: 14px 0;
  padding: 18px 22px 18px 26px;
  background: var(--bg-elevated);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#cases blockquote::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: 10px;
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.18;
  pointer-events: none;
}

#cases blockquote:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

#news article,
#articles article {
  margin-top: 18px;
  padding: 22px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

#news article::before,
#articles article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-hero);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

#news article:hover,
#articles article:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 57, 70, 0.28);
}

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

#news article h3,
#articles article h3 {
  margin: 0 0 8px;
  padding-left: 0;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text);
  transition: color 0.3s var(--ease);
}

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

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

#news article time,
#articles article time {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(230, 57, 70, 0.1);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

#news article p,
#articles article p {
  margin-bottom: 10px;
  font-size: 0.94rem;
  line-height: 1.8;
}

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

#articles article p a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.18);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

#articles article p a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

#faq h3 {
  margin-top: 22px;
  padding: 14px 18px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text);
  cursor: default;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

#faq h3:hover {
  border-color: rgba(230, 57, 70, 0.35);
  box-shadow: var(--shadow-sm);
  background: var(--bg-glass-strong);
}

#faq h3::before {
  background: var(--grad-hero);
  top: 0.32em;
  bottom: 0.32em;
}

#faq h3 + p {
  padding: 4px 18px 0 32px;
  font-size: 0.94rem;
  color: var(--text-muted);
  border-left: 2px dashed var(--border-strong);
  margin-left: 8px;
  padding-bottom: 6px;
}

#howto ol > li {
  background: var(--grad-card);
}

#contact ul {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

#contact ul > li {
  padding: 14px 18px 14px 46px;
  font-weight: 500;
  color: var(--text-soft);
  word-break: break-word;
}

#sitemap ul,
#links ul {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

#sitemap ul > li,
#links ul > li {
  padding: 8px 14px;
  background: transparent;
  border: 1px dashed var(--border-strong);
  box-shadow: none;
  font-size: 0.9rem;
}

#sitemap ul > li::before,
#links ul > li::before {
  display: none;
}

#sitemap ul > li:hover,
#links ul > li:hover {
  border-style: solid;
  border-color: var(--primary);
  background: rgba(230, 57, 70, 0.06);
  transform: translateY(-2px);
}

#sitemap ul > li a,
#links ul > li a {
  color: var(--text-soft);
  font-weight: 600;
  display: block;
}

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

footer {
  position: relative;
  margin-top: 60px;
  padding: clamp(36px, 5vw, 56px) clamp(20px, 4vw, 40px);
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

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

footer p {
  max-width: var(--maxw);
  margin: 0 auto 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

footer p:first-child {
  font-weight: 700;
  color: var(--text-soft);
  font-size: 0.92rem;
}

footer p:nth-child(3) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  margin-top: 14px;
}

footer p:nth-child(3) a {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

footer p:nth-child(3) a:hover {
  color: var(--primary);
  background: rgba(230, 57, 70, 0.08);
  transform: translateY(-1px);
}

footer p:last-child {
  margin-top: 16px;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  opacity: 0.85;
}

@media (max-width: 1024px) {
  header nav > ul {
    gap: 2px;
  }
  header nav > ul > li > a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }
}

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

  header {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 16px;
  }

  header > div {
    display: flex;
    justify-content: center;
  }

  header > div > a {
    font-size: 1.2rem;
  }

  header nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  header nav::-webkit-scrollbar {
    display: none;
  }

  header nav > ul {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 2px 0;
  }

  header nav > ul > li > a {
    padding: 7px 12px;
    font-size: 0.84rem;
  }

  main {
    padding: 0 16px 60px;
  }

  section {
    padding: clamp(18px, 4vw, 26px);
    border-radius: var(--radius-lg);
  }

  #hero {
    border-radius: var(--radius-lg);
    padding: 26px 20px;
  }

  #hero::after {
    width: 300px;
    height: 300px;
    top: -30%;
    right: -20%;
  }

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

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

  #sitemap ul,
  #links ul {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

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

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }

  section > h2 {
    padding-left: 14px;
    margin-bottom: 16px;
  }

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

  section > ul > li,
  section > ol > li {
    padding: 11px 14px 11px 42px;
    font-size: 0.9rem;
  }

  section > ul > li::before,
  section > ol > li::before {
    left: 12px;
    width: 20px;
    height: 20px;
    font-size: 0.68rem;
  }

  #hero {
    padding: 22px 16px;
    border-radius: var(--radius-md);
  }

  #hero h1 {
    font-size: 1.42rem;
    margin-bottom: 14px;
  }

  #hero p {
    font-size: 0.9rem;
    line-height: 1.78;
  }

  #hero figure {
    margin-top: 20px;
    border-radius: var(--radius-md);
  }

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

  #news article,
  #articles article {
    padding: 16px 16px;
    border-radius: var(--radius-md);
  }

  #articles article p a {
    font-size: 0.82rem;
    padding: 5px 12px;
  }

  #faq h3 {
    padding: 12px 14px;
    font-size: 0.94rem;
  }

  #faq h3 + p {
    padding-left: 20px;
    font-size: 0.88rem;
  }

  #cases blockquote {
    padding: 14px 16px 14px 20px;
  }

  footer {
    padding: 32px 16px;
  }

  footer p:nth-child(3) {
    gap: 4px 6px;
  }

  footer p:nth-child(3) a {
    padding: 3px 9px;
    font-size: 0.82rem;
  }
}

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

  section {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media print {
  header,
  footer,
  #hero::after,
  body::before {
    display: none !important;
  }

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

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

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