:root {
  --bg: #f5f6fb;
  --bg-soft: #ffffff;
  --bg-elevated: rgba(255, 255, 255, 0.72);
  --text: #1c1d2b;
  --text-soft: #555a72;
  --text-muted: #7d829b;
  --primary: #6c5ce7;
  --primary-2: #a55eea;
  --primary-3: #00cec9;
  --accent: #fd79a8;
  --border: rgba(28, 29, 43, 0.08);
  --border-strong: rgba(28, 29, 43, 0.16);
  --shadow-sm: 0 2px 10px rgba(28, 29, 43, 0.06);
  --shadow-md: 0 10px 30px rgba(28, 29, 43, 0.1);
  --shadow-lg: 0 24px 60px rgba(28, 29, 43, 0.16);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --grad-hero: linear-gradient(135deg, #6c5ce7 0%, #a55eea 45%, #fd79a8 100%);
  --grad-soft: linear-gradient(135deg, rgba(108, 92, 231, 0.12), rgba(0, 206, 201, 0.12));
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);
  --header-h: 72px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12131f;
    --bg-soft: #1a1b2e;
    --bg-elevated: rgba(26, 27, 46, 0.72);
    --text: #eef0ff;
    --text-soft: #b9bdd8;
    --text-muted: #8b90ad;
    --primary: #8b7bff;
    --primary-2: #b57bff;
    --primary-3: #2ee6df;
    --accent: #ff8fb8;
    --border: rgba(238, 240, 255, 0.1);
    --border-strong: rgba(238, 240, 255, 0.2);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
    --grad-hero: linear-gradient(135deg, #4b3fc4 0%, #7e3fbf 45%, #b83f7a 100%);
    --grad-soft: linear-gradient(135deg, rgba(139, 123, 255, 0.16), rgba(46, 230, 223, 0.12));
    --glass-bg: rgba(26, 27, 46, 0.55);
    --glass-border: rgba(238, 240, 255, 0.12);
  }
}

*,
*::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: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(
      1200px 600px at 10% -10%,
      rgba(108, 92, 231, 0.14),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at 100% 0%,
      rgba(0, 206, 201, 0.12),
      transparent 55%
    );
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
  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-2);
}

h1,
h2,
h3 {
  line-height: 1.3;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
}

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

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

li {
  margin-bottom: 0.45em;
}

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

blockquote {
  margin: 0;
}

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

.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: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============ 顶部导航 ============ */
header[role="banner"] {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.logo:hover {
  transform: translateY(-2px);
  color: var(--text);
}

.logo svg {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.4);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.logo:hover svg {
  box-shadow: 0 10px 26px rgba(108, 92, 231, 0.55);
  transform: rotate(-6deg) scale(1.05);
}

.brand-name {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

header nav[role="navigation"] {
  flex: 1 1 auto;
  min-width: 0;
}

header nav[role="navigation"] ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

header nav[role="navigation"] li {
  margin: 0;
}

header nav[role="navigation"] a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-soft);
  position: relative;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

header nav[role="navigation"] a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-hero);
  transform: translateX(-50%);
  transition: width 0.3s var(--ease);
}

header nav[role="navigation"] a:hover {
  color: var(--primary);
  background: var(--grad-soft);
  transform: translateY(-1px);
}

header nav[role="navigation"] a:hover::after {
  width: 60%;
}

/* 搜索 */
.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.search-form input[type="search"] {
  width: 220px;
  padding: 9px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  outline: none;
  transition: width 0.3s var(--ease), border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

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

.search-form input[type="search"]:focus {
  width: 260px;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.18);
  background: var(--bg-soft);
}

.search-form button {
  padding: 9px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--grad-hero);
  background-size: 160% 160%;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-position 0.5s var(--ease), transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
  box-shadow: 0 6px 18px rgba(108, 92, 231, 0.32);
}

.search-form button:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(108, 92, 231, 0.45);
}

.search-form button:active {
  transform: translateY(0);
}

/* ============ 面包屑 ============ */
.breadcrumb {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 20px 0;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb li + li::before {
  content: "›";
  color: var(--text-muted);
  opacity: 0.7;
}

.breadcrumb a {
  color: var(--text-muted);
}

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

.breadcrumb [aria-current="page"] {
  color: var(--text-soft);
  font-weight: 500;
}

/* ============ 主内容 ============ */
main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px 60px;
  display: block;
}

main > section {
  margin-top: 28px;
  padding: clamp(22px, 3.4vw, 40px);
  background: var(--bg-elevated);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

main > section:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

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

main > section > 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(108, 92, 231, 0.5);
}

main > section > h3 {
  margin-top: 1.4em;
  color: var(--text);
}

main > section > h3:first-of-type {
  margin-top: 0;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: 26px !important;
  padding: clamp(36px, 6vw, 76px) clamp(24px, 5vw, 64px) !important;
  border-radius: var(--radius-lg) !important;
  background: var(--grad-hero) !important;
  background-size: 200% 200% !important;
  border: none !important;
  color: #fff;
  box-shadow: 0 24px 60px rgba(108, 92, 231, 0.35) !important;
  animation: heroShift 14s ease infinite;
}

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

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(0px);
}

.hero::before {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.32),
    transparent 70%
  );
  animation: floatBlob 10s ease-in-out infinite;
}

.hero::after {
  width: 320px;
  height: 320px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(
    circle,
    rgba(0, 206, 201, 0.4),
    transparent 70%
  );
  animation: floatBlob 13s ease-in-out infinite reverse;
}

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

.hero h1 {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.18);
  max-width: 20ch;
}

.hero-desc {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  margin: 0 0 1.6em;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.95rem, 1.4vw, 1.06rem);
  line-height: 1.85;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}

.btn-primary {
  color: var(--primary);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  color: var(--primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

/* ============ 产品优势列表 ============ */
#products ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 1em;
}

#products ul li {
  margin: 0;
  padding: 14px 16px 14px 44px;
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  color: var(--text-soft);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

#products ul li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad-hero);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.4);
}

#products ul li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* ============ 案例评价 ============ */
#cases blockquote {
  position: relative;
  margin: 16px 0;
  padding: 20px 22px 20px 54px;
  background: var(--grad-soft);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

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

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

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

/* ============ 新闻 / 文章 ============ */
#news article,
#articles article {
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

#news article::after,
#articles article::after {
  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-md);
  border-color: var(--border-strong);
}

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

#news article h3,
#articles article h3 {
  margin-bottom: 0.35em;
  color: var(--text);
  transition: color 0.25s var(--ease);
}

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

#news article p:last-child,
#articles article p:last-child {
  margin-bottom: 0;
  font-size: 0.94rem;
}

/* ============ HowTo 步骤 ============ */
#howto ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

#howto ol li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 14px 18px 14px 58px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-soft);
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

#howto ol li::before {
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  background: var(--grad-hero);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(108, 92, 231, 0.4);
}

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

/* ============ FAQ ============ */
#faq details {
  margin-bottom: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}

#faq details[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

#faq details:hover {
  border-color: var(--border-strong);
}

#faq summary {
  position: relative;
  padding: 15px 52px 15px 20px;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

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

#faq summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}

#faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

#faq summary:hover {
  color: var(--primary);
  background: var(--grad-soft);
}

#faq details p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 0.94rem;
  color: var(--text-soft);
  animation: fadeSlide 0.35s var(--ease);
}

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

/* ============ 联系我们 ============ */
#contact h3 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#contact p {
  margin-bottom: 0.9em;
}

#contact a {
  font-weight: 600;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 1px;
}

#contact a:hover {
  border-bottom-style: solid;
}

/* ============ 编辑信息 ============ */
#editorial p {
  margin-bottom: 0.35em;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============ 页脚 ============ */
footer[role="contentinfo"] {
  margin-top: 40px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(108, 92, 231, 0.06)
  );
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 48px 20px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 32px;
}

.footer-inner section {
  min-width: 0;
}

.footer-inner h2 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.9em;
  position: relative;
  padding-left: 12px;
}

.footer-inner h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  border-radius: 3px;
  background: var(--grad-hero);
}

.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-inner li {
  margin-bottom: 8px;
}

.footer-inner a {
  font-size: 0.9rem;
  color: var(--text-soft);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
  display: inline-block;
}

.footer-inner a:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-inner p {
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

.footer-inner section:first-child {
  grid-column: span 1;
}

/* ============ 滚动动画 ============ */
@supports (animation-timeline: view()) {
  main > section,
  #news article,
  #articles article,
  #products ul li,
  #faq details {
    animation: revealUp linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 28%;
  }

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

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .search-form input[type="search"] {
    width: 170px;
  }
  .search-form input[type="search"]:focus {
    width: 200px;
  }
}

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

  .header-inner {
    gap: 12px;
    padding: 12px 16px;
  }

  header nav[role="navigation"] {
    order: 3;
    flex-basis: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  header nav[role="navigation"]::-webkit-scrollbar {
    display: none;
  }

  header nav[role="navigation"] ul {
    flex-wrap: nowrap;
    gap: 2px;
  }

  header nav[role="navigation"] a {
    white-space: nowrap;
    padding: 7px 11px;
    font-size: 0.88rem;
  }

  .search-form {
    margin-left: auto;
  }

  .search-form input[type="search"] {
    width: 150px;
  }

  .search-form input[type="search"]:focus {
    width: 180px;
  }

  main {
    padding: 0 16px 48px;
  }

  main > section {
    margin-top: 20px;
    border-radius: var(--radius-md);
  }

  .hero {
    border-radius: var(--radius-md) !important;
  }

  .footer-inner {
    padding: 36px 16px 28px;
    gap: 24px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
    background-attachment: scroll;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .logo svg {
    width: 34px;
    height: 34px;
  }

  .search-form {
    flex-basis: 100%;
    order: 2;
    margin-left: 0;
  }

  .search-form input[type="search"] {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

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

  .search-form button {
    padding: 9px 16px;
    flex-shrink: 0;
  }

  .breadcrumb {
    padding: 14px 16px 0;
  }

  .hero {
    padding: 32px 22px !important;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    flex: 1 1 auto;
    padding: 11px 20px;
    font-size: 0.92rem;
  }

  main > section > h2 {
    padding-left: 14px;
  }

  main > section > h2::before {
    width: 4px;
  }

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

  #news article,
  #articles article {
    padding: 15px 16px;
  }

  #faq summary {
    padding: 13px 44px 13px 16px;
    font-size: 0.92rem;
  }

  #faq details p {
    padding: 0 16px 15px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}