/* 搜狗输入法 官网样式表 — 纯静态、无框架依赖 */

:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-200: #a7f3d0;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --emerald-700: #047857;
  --teal-50: #f0fdfa;
  --teal-200: #99f6e4;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06);
  --shadow-md: 0 10px 25px -8px rgba(17, 24, 39, .12);
  --shadow-xl: 0 25px 45px -18px rgba(5, 150, 105, .35);
  --container: 72rem;
  --header-h: 4.25rem;
}

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

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

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: var(--emerald-600); text-decoration: none; }
a:hover { color: var(--emerald-700); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; color: var(--gray-900); font-weight: 700; line-height: 1.25; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--emerald-600); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--emerald-600); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: .6rem; color: #fff; }
.text-gradient {
  background: linear-gradient(90deg, var(--emerald-500), #0d9488);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ 1. Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--gray-100);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gray-900);
  white-space: nowrap;
}
.brand:hover { color: var(--gray-900); }
.brand img { width: 2.25rem; height: 2.25rem; border-radius: var(--radius-sm); object-fit: contain; }
.nav-menu { display: none; align-items: center; gap: .25rem; }
.nav-menu a {
  display: inline-block;
  padding: .5rem .8rem;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--gray-600);
}
.nav-menu a:hover { color: var(--gray-900); background: var(--gray-50); }
.nav-menu a[aria-current="page"] { color: var(--emerald-600); background: var(--emerald-50); }
.header-cta { display: none; }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border: 0; background: transparent; cursor: pointer;
  border-radius: var(--radius-sm);
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 1.35rem; height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  position: relative;
  transition: transform .25s ease, background .25s ease;
}
.burger span::before,
.burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.nav-drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  padding: .5rem 1rem 1.25rem;
  display: none;
}
.nav-drawer.is-open { display: block; }
.nav-drawer ul { display: grid; gap: .15rem; margin-bottom: 1rem; }
.nav-drawer a {
  display: block;
  padding: .7rem .85rem;
  border-radius: var(--radius-sm);
  color: var(--gray-700);
  font-size: 1rem;
}
.nav-drawer a:hover { background: var(--gray-50); color: var(--gray-900); }
.nav-drawer a[aria-current="page"] { background: var(--emerald-50); color: var(--emerald-600); }
.drawer-close {
  position: absolute; top: .4rem; right: .75rem;
  border: 0; background: transparent; font-size: 1.6rem; line-height: 1;
  color: var(--gray-500); cursor: pointer; padding: .25rem .5rem; border-radius: var(--radius-sm);
}

/* ============ 按钮 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: .7rem 1.15rem;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary { background: var(--emerald-600); color: #fff; box-shadow: 0 8px 20px -10px rgba(5, 150, 105, .8); }
.btn--primary:hover { background: var(--emerald-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-xl); }
.btn--ghost { background: #fff; color: var(--gray-800); border-color: var(--gray-200); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--emerald-200); color: var(--emerald-700); }
.btn--light { background: #fff; color: var(--emerald-700); }
.btn--light:hover { color: var(--emerald-700); background: var(--emerald-50); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--lg { padding: 1rem 1.9rem; border-radius: var(--radius-lg); font-size: 1.0625rem; }
.animate-glow { animation: glow 3.2s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 10px 26px -12px rgba(5, 150, 105, .85); }
  50% { box-shadow: 0 16px 38px -10px rgba(16, 185, 129, .75); }
}

/* ============ 2. Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--teal-50) 0%, #fff 48%, var(--emerald-50) 100%);
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .3;
  pointer-events: none;
}
.hero::before { width: 26rem; height: 26rem; background: var(--emerald-400); top: -9rem; right: -8rem; }
.hero::after { width: 22rem; height: 22rem; background: var(--teal-200); bottom: -11rem; left: -7rem; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.75rem;
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem .4rem .7rem;
  margin-bottom: 1.25rem;
  border-radius: 9999px;
  background: var(--emerald-100);
  color: var(--emerald-700);
  font-size: .8125rem;
  font-weight: 600;
}
.hero-badge svg { width: 1rem; height: 1rem; }
.hero h1 {
  font-size: clamp(2.5rem, 9vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}
.hero h1 span { display: block; }
.hero-lead {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-bottom: 2.25rem;
}
.hero-points {
  display: grid;
  gap: .65rem;
  justify-content: center;
  font-size: .875rem;
  color: var(--gray-500);
}
.hero-points li { display: flex; align-items: center; gap: .45rem; justify-content: center; }
.hero-points svg { width: 1rem; height: 1rem; color: var(--emerald-500); flex: none; }
.hero-visual img {
  width: 100%;
  max-width: 37.5rem;
  margin: 0 auto;
  object-fit: contain;
}

/* ============ 3. 信任数据条 ============ */
.trust { background: var(--gray-900); color: #fff; padding: 3rem 0; }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}
.trust-item svg { width: 2rem; height: 2rem; color: var(--emerald-400); margin: 0 auto .65rem; }
.trust-item dd { margin: 0; font-size: 1.875rem; font-weight: 700; color: #fff; }
.trust-item dt { font-size: .9375rem; color: var(--gray-400); }

/* ============ 4. 区块通用 ============ */
.section { padding: 4.5rem 0; }
.section--muted { background: var(--gray-50); }
.section-head { max-width: 42rem; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 5vw, 2.35rem); margin-bottom: .85rem; }
.section-head p { font-size: 1.0625rem; color: var(--gray-600); }
.section-head--row { text-align: left; max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.section-head--row > div { max-width: 40rem; }
.section-link { display: none; font-size: .9375rem; font-weight: 600; align-items: center; gap: .35rem; }

/* ============ 5. 核心功能 ============ */
.feature-grid { display: grid; gap: 1.5rem; }
.card {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--emerald-200); box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem; height: 4rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  color: #fff;
  transition: transform .25s ease;
}
.card:hover .icon-box { transform: scale(1.08); }
.icon-box svg { width: 2rem; height: 2rem; }
.icon-box--purple { background: linear-gradient(135deg, #a855f7, #ec4899); }
.icon-box--cyan { background: linear-gradient(135deg, #06b6d4, #3b82f6); }
.icon-box--amber { background: linear-gradient(135deg, #f59e0b, #f97316); }
.icon-box--emerald { background: linear-gradient(135deg, var(--emerald-500), #0d9488); }
.card h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.card p { color: var(--gray-600); font-size: 1.0625rem; }

/* ============ 6. 全平台 ============ */
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.platform-card {
  display: block;
  padding: 2rem 1.5rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.platform-card:hover { border-color: var(--emerald-200); box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.platform-card svg { width: 3rem; height: 3rem; margin: 0 auto .9rem; color: var(--gray-700); transition: color .25s ease; }
.platform-card:hover svg { color: var(--emerald-600); }
.platform-card h3 { font-size: 1.125rem; margin-bottom: .25rem; }
.platform-card .req { display: block; font-size: .8125rem; color: var(--gray-500); }
.platform-card .dl {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .9rem;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--emerald-600);
  opacity: 0;
  transition: opacity .25s ease;
}
.platform-card .dl svg { width: .95rem; height: .95rem; margin: 0; color: currentColor; }
.platform-card:hover .dl,
.platform-card:focus-visible .dl { opacity: 1; }

/* ============ 7. 学习中心 ============ */
.article-grid { display: grid; gap: 1.5rem; }
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.article-card:hover { border-color: var(--emerald-200); box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.article-thumb { position: relative; height: 11rem; overflow: hidden; background: var(--gray-100); }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-thumb img { transform: scale(1.05); }
.article-tag {
  position: absolute;
  left: .75rem; top: .75rem;
  padding: .2rem .55rem;
  border-radius: var(--radius-sm);
  background: var(--emerald-500);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
}
.article-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.article-body h3 {
  font-size: 1.0625rem;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover h3 { color: var(--emerald-600); }
.article-body .excerpt {
  font-size: .875rem;
  color: var(--gray-500);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .85rem;
  margin-top: auto;
  border-top: 1px solid var(--gray-100);
  font-size: .75rem;
  color: var(--gray-400);
}
.article-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.article-meta svg { width: .95rem; height: .95rem; }

/* ============ 8. FAQ ============ */
.faq-list { max-width: 48rem; margin: 0 auto; display: grid; gap: .85rem; }
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: #fff;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-item.is-open { border-color: var(--emerald-200); box-shadow: var(--shadow-md); }
.faq-item h3 { margin: 0; font-size: 1.0625rem; }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.35rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
}
.faq-q svg { width: 1.25rem; height: 1.25rem; flex: none; color: var(--emerald-600); transition: transform .25s ease; }
.faq-item.is-open .faq-q svg { transform: rotate(45deg); }
.faq-a { padding: 0 1.35rem 1.25rem; color: var(--gray-600); font-size: .9375rem; }
.faq-item:not(.is-open) .faq-a { display: none; }

/* ============ 9. 底部 CTA ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--emerald-700), #0f766e);
  color: #fff;
  padding: 3.5rem 0;
}
.cta-inner { display: grid; gap: 1.75rem; align-items: center; }
.cta-inner h2 { color: #fff; font-size: clamp(1.6rem, 4.5vw, 2.1rem); margin-bottom: .6rem; }
.cta-inner p { color: var(--emerald-100); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ============ 10. Footer ============ */
.site-footer { background: var(--gray-900); color: var(--gray-400); padding: 3.5rem 0 1.75rem; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.footer-brand p { margin-top: .85rem; font-size: .875rem; max-width: 17rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.site-footer h3 { color: #fff; font-size: .9375rem; margin-bottom: .85rem; }
.site-footer li + li { margin-top: .55rem; }
.site-footer a { color: var(--gray-400); font-size: .875rem; }
.site-footer a:hover { color: var(--emerald-400); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .8125rem;
  color: var(--gray-500);
}
.footer-bottom a { font-size: .8125rem; }

/* ============ 子页面 ============ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: linear-gradient(160deg, var(--teal-50), #fff 60%, var(--emerald-50));
  border-bottom: 1px solid var(--gray-100);
}
.page-hero h1 { font-size: clamp(1.85rem, 5vw, 2.6rem); margin-bottom: .8rem; }
.page-hero p { max-width: 42rem; color: var(--gray-600); font-size: 1.0625rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; font-size: .8125rem; color: var(--gray-500); }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--emerald-600); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--gray-400); }

.prose { max-width: 46rem; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 2.25rem 0 .85rem; }
.prose h3 { font-size: 1.15rem; margin: 1.75rem 0 .6rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem; padding-left: 1.25rem; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5rem; }
.prose strong { color: var(--gray-900); }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .9375rem; }
.prose th, .prose td { border: 1px solid var(--gray-200); padding: .65rem .8rem; text-align: left; }
.prose th { background: var(--gray-50); color: var(--gray-900); }
.prose .note {
  padding: 1rem 1.15rem;
  margin: 0 0 1.25rem;
  border-left: 3px solid var(--emerald-500);
  background: var(--emerald-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9375rem;
  color: var(--gray-700);
}
.prose .fn-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.dl-grid { display: grid; gap: 1.5rem; }
.dl-card {
  padding: 2rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.dl-card svg.os { width: 2.75rem; height: 2.75rem; color: var(--emerald-600); margin-bottom: 1rem; }
.dl-card h2 { font-size: 1.3rem; margin-bottom: .35rem; }
.dl-card .req { display: block; margin-bottom: 1.1rem; font-size: .8125rem; color: var(--gray-500); }
.dl-card .btn { width: 100%; }
.dl-note { margin-top: 2rem; text-align: center; font-size: .875rem; color: var(--gray-500); }

.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  background: #fff;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute; left: 1.25rem; top: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-700);
  font-weight: 700;
  font-size: .9375rem;
}
.step h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.step p { font-size: .9375rem; color: var(--gray-600); }

.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; min-width: 32rem; border-collapse: collapse; font-size: .9375rem; }
.spec-table th, .spec-table td { border-bottom: 1px solid var(--gray-200); padding: .8rem .9rem; text-align: left; }
.spec-table thead th { background: var(--gray-50); color: var(--gray-900); font-size: .875rem; }
.spec-table tbody th { color: var(--gray-900); font-weight: 600; }

.blog-list { display: grid; gap: 1.5rem; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2.75rem; }
.pager a, .pager span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 2.4rem; height: 2.4rem; padding: 0 .75rem;
  border: 1px solid var(--gray-200); border-radius: var(--radius-sm);
  font-size: .875rem; color: var(--gray-600);
}
.pager [aria-current="page"] { background: var(--emerald-600); border-color: var(--emerald-600); color: #fff; }

.related { margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--gray-200); }
.related h2 { font-size: 1.35rem; margin-bottom: 1.5rem; }

/* ============ 8. 全部教程分类列表 ============ */
.tut-block { margin-top: 3.5rem; }
.tut-block > h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: .6rem; }
.tut-block > .lead { color: var(--gray-600); margin-bottom: 2rem; max-width: 46rem; }
.tut-grid { display: grid; gap: 2rem; }
.tut-cat h3 {
  font-size: 1.0625rem;
  line-height: 1.3;
  margin: 0 0 .9rem;
  padding-left: .7rem;
  border-left: 3px solid var(--emerald-500);
}
.tut-cat h3 span { font-size: .8125rem; font-weight: 400; color: var(--gray-400); margin-left: .45rem; }
.tut-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.tut-list a {
  display: block;
  padding: .65rem .9rem;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--gray-700);
  text-decoration: none;
  font-size: .9375rem;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.tut-list a:hover {
  border-color: var(--emerald-200);
  background: var(--emerald-50);
  color: var(--emerald-700);
}

/* ============ 响应式 ============ */
@media (min-width: 48rem) {
  .nav-menu { display: flex; }
  .header-cta { display: inline-flex; }
  .burger { display: none; }
  .nav-drawer { display: none !important; }
  .hero { padding: calc(var(--header-h) + 3.5rem) 0 5rem; }
  .hero-inner { text-align: left; }
  .hero-lead { margin-left: 0; margin-right: 0; }
  .hero-actions { justify-content: flex-start; }
  .hero-points { grid-template-columns: repeat(2, auto); justify-content: start; }
  .hero-points li { justify-content: flex-start; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .section { padding: 6rem 0; }
  .cta-inner { grid-template-columns: 1.4fr auto; }
  .section-link { display: inline-flex; }
  .dl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tut-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tut-block { margin-top: 4.5rem; }
}

@media (min-width: 64rem) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .hero h1 { font-size: 4.25rem; }
  .hero-lead { font-size: 1.25rem; }
  .trust-item dd { font-size: 2.25rem; }
  .platform-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dl-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

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