:root {
  --ink: #0b1220;
  --ink-2: #1d2939;
  --muted: #5c6b82;
  --muted-2: #8794a8;
  --line: #e4e9f1;
  --paper: #ffffff;
  --paper-2: #f6f8fc;
  --paper-3: #eef4ff;
  --blue: #2563eb;
  --blue-dark: #1746b3;
  --blue-soft: #dbeafe;
  --green: #0f9f74;
  --amber: #b7791f;
  --navy: #07152e;
  --radius: 16px;
  --shadow: 0 18px 50px rgba(15, 35, 70, 0.1);
  --font: "Segoe UI", Inter, -apple-system, BlinkMacSystemFont, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

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

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(228, 233, 241, 0.9);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 9px;
}

.brand-name {
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 12px;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.lang-switch {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.sign-in {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.22);
}

.btn-primary:hover {
  color: #fff;
  background: var(--blue-dark);
}

.btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: #cbd5e1;
}

.btn-secondary:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.btn-ghost {
  min-height: 38px;
  padding: 8px 2px;
  color: var(--blue);
}

.btn-sm {
  min-height: 36px;
  padding: 8px 14px;
  font-size: 13px;
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-panel {
  position: absolute;
  top: 68px;
  right: 0;
  left: 0;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.mobile-panel a {
  display: block;
  padding: 10px 8px;
  color: var(--ink);
  font-weight: 600;
}

.mobile-panel .btn {
  margin-top: 8px;
  color: #fff;
}

.hero {
  overflow: hidden;
  padding: 78px 0 82px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.34), transparent 31%),
    radial-gradient(circle at 12% 92%, rgba(14, 165, 233, 0.18), transparent 30%),
    linear-gradient(135deg, #06142d 0%, #0c2550 58%, #123b78 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.97fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 12px 0 18px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.eyebrow {
  margin: 0;
  color: #93c5fd;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 650px;
  margin: 0;
  color: #c8d7ed;
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-actions .btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  color: #9fb1ca;
  font-size: 13px;
  list-style: none;
}

.trust-list li::before {
  content: "✓";
  margin-right: 6px;
  color: #6ee7b7;
}

.hero-visual {
  position: relative;
}

.visual-window {
  padding: 20px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.visual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.visual-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

.visual-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.tag {
  display: inline-block;
  padding: 3px 8px;
  color: var(--blue-dark);
  background: var(--paper-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.tag-warm {
  color: #92400e;
  background: #fef3c7;
}

.tag-green {
  color: #067a57;
  background: #d1fae5;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 16px 0 12px;
}

.metric {
  padding: 12px;
  background: var(--paper-2);
  border-radius: 10px;
}

.metric-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.metric-value {
  margin-top: 3px;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.visual-bars {
  display: grid;
  gap: 10px;
  padding: 8px 0 12px;
}

.bar-row {
  display: grid;
  /* 首列原为 72px，"Recommendation" 这类单词在 11px 下约 88px，
     整词不可断行会直接压到进度条上，这里放到 96px 并允许极端情况下拆词 */
  grid-template-columns: 96px 1fr 32px;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.bar-row > span:first-child {
  overflow-wrap: anywhere;
}

.bar-track {
  height: 7px;
  overflow: hidden;
  background: #edf1f7;
  border-radius: 999px;
}

.bar-fill {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: inherit;
}

.bar-fill.amber {
  background: #d97706;
}

.visual-note {
  margin: 0;
  padding-top: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 11px;
}

.section {
  padding: 82px 0;
}

.section-muted {
  background: var(--paper-2);
}

.section-dark {
  color: #fff;
  background: var(--navy);
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(29px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-lead,
.section-dark .card p,
.section-dark .muted {
  color: #aebfd6;
}

.section-dark .eyebrow {
  color: #7dd3fc;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.section-dark .card {
  background: #0d2242;
  border-color: #203a64;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  color: var(--blue);
  background: var(--paper-3);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
}

.section-dark .icon-box {
  color: #93c5fd;
  background: #14305a;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* 相关阅读卡片：标题本身是链接，保持正文字色，靠下划线表达可点击，
   避免整块卡片变蓝把视觉重心从标题上抢走 */
.card h3 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.card h3 a:hover {
  color: var(--ink);
  border-bottom-color: var(--blue);
}

.section-related {
  padding-top: 0;
}

.section-related .section-head {
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
}

.card .text-link {
  display: inline-block;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 650;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 22px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0 0 7px;
  font-size: 16px;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.metrics-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-block {
  padding: 26px 24px;
  border-right: 1px solid var(--line);
}

.metric-block:last-child {
  border-right: 0;
}

.metric-block strong {
  display: block;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.metric-block span {
  color: var(--muted);
  font-size: 13px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 800;
}

.section-dark .check-list li {
  color: #aebfd6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.price-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.12);
}

.plan-name {
  margin: 0 0 4px;
  font-size: 18px;
}

.plan-desc {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.price {
  margin: 18px 0 4px;
  font-size: 40px;
  font-weight: 760;
  line-height: 1;
  letter-spacing: -0.045em;
}

.price-unit {
  margin-left: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-list {
  display: grid;
  gap: 9px;
  margin: 22px 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  list-style: none;
}

.plan-list li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--green);
  font-weight: 800;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.small-note {
  color: var(--muted);
  font-size: 12.5px;
}

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.faq-item summary {
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}

.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.5px;
}

.cta-band {
  padding: 54px 0;
  color: #fff;
  background: linear-gradient(120deg, #1746b3, #0b2550);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  margin: 0 0 6px;
  font-size: 30px;
  letter-spacing: -0.03em;
}

.cta-inner p {
  margin: 0;
  color: #c8d7ed;
}

.cta-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cta-actions .btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.breadcrumbs {
  padding-top: 26px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 12.5px;
  list-style: none;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 7px;
  color: #b8c3d3;
}

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

.article {
  padding: 32px 0 80px;
}

.article-header {
  max-width: 840px;
  padding: 26px 0 32px;
}

.article-header h1 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 4.8vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.article-header .lead {
  color: var(--muted);
  font-size: 18px;
}

.article-meta {
  margin-top: 20px;
  color: var(--muted-2);
  font-size: 13px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(200px, 260px);
  gap: 54px;
  align-items: start;
}

.prose {
  color: #243247;
  font-size: 16.5px;
  line-height: 1.85;
}

.prose h2 {
  margin: 40px 0 12px;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.prose h3 {
  margin: 28px 0 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
}

.prose p {
  margin: 0 0 17px;
}

.prose ul,
.prose ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.prose li {
  margin-bottom: 7px;
}

.prose blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  color: var(--ink-2);
  background: var(--paper-3);
  border-left: 3px solid var(--blue);
  border-radius: 0 10px 10px 0;
}

.prose table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.prose th,
.prose td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--paper-2);
  font-weight: 700;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose .callout {
  margin: 24px 0;
  padding: 18px 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.toc {
  position: sticky;
  top: 96px;
  padding: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.toc-title {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.toc a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  font-size: 13px;
}

.toc a:hover {
  color: var(--blue);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.resource-card h3 {
  margin: 10px 0 8px;
  font-size: 19px;
  line-height: 1.4;
}

.resource-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.resource-meta {
  margin-top: auto;
  color: var(--muted-2);
  font-size: 12.5px;
}

.site-footer {
  padding: 52px 0 24px;
  color: #b6c4d8;
  background: #071326;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand .brand:hover {
  color: #fff;
}

.footer-mission {
  max-width: 300px;
  margin: 14px 0 0;
  color: #8ea2bd;
  font-size: 13.5px;
}

.footer-title {
  margin: 2px 0 13px;
  color: #e8effa;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  color: #9fb0c8;
  font-size: 13.5px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 44px;
  padding-top: 18px;
  color: #7488a4;
  border-top: 1px solid #1a2b47;
  font-size: 12px;
}

.footer-bottom a {
  color: #8ea2bd;
}

.badge {
  display: inline-block;
  padding: 4px 9px;
  color: var(--blue-dark);
  background: var(--paper-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.not-found {
  min-height: 64vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.not-found h1 {
  margin: 0 0 10px;
  font-size: 42px;
}

.not-found p {
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
}

.muted {
  color: var(--muted);
}

.two-col-list {
  columns: 2;
  column-gap: 34px;
}

@media (max-width: 960px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    max-width: 580px;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps,
  .metrics-grid,
  .pricing-grid,
  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-block:nth-child(2) {
    border-right: 0;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .toc {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }

  .footer-grid > :last-child {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero {
    padding: 44px 0 54px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .lead,
  .article-header .lead {
    font-size: 16px;
  }

  .hero-actions,
  .cta-actions {
    width: 100%;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    flex: 1;
  }

  .grid-3,
  .grid-2,
  .steps,
  .metrics-grid,
  .pricing-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .metric-block {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-block:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 56px 0;
  }

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-inner h2 {
    font-size: 26px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > :last-child {
    grid-column: auto;
  }

  .two-col-list {
    columns: 1;
  }

  .prose {
    font-size: 16px;
  }

  .prose h2 {
    font-size: 24px;
  }

  .article-header h1 {
    font-size: 36px;
  }
}

/* 404 与根路径语言选择页共用一套极简版式：
   这两类页面只需要标题、说明和出口链接，不加载 header/footer。 */
.notfound {
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 72px 0;
  background:
    radial-gradient(60% 60% at 85% 8%, rgba(37, 99, 235, 0.12), transparent 70%),
    var(--paper);
}

.notfound .container {
  max-width: 720px;
}

/* 这两个类原本是给深色 hero 写的（浅蓝字 + 白字按钮），
   404 与语言选择页是浅底，直接复用会出现白底白字，这里按浅底重设。 */
.notfound .eyebrow {
  color: var(--blue);
}

.notfound .lead {
  color: var(--muted);
}

.notfound .hero-actions .btn-secondary {
  color: var(--ink);
  background: #fff;
  border-color: #cbd5e1;
}

.notfound .hero-actions .btn-secondary:hover {
  color: var(--ink);
  background: var(--paper-2);
}

.notfound h1 {
  margin: 0 0 20px;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.notfound .lead + .lead {
  margin-top: 8px;
}

.notfound .hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.notfound-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 40px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

@media (max-width: 640px) {
  .notfound h1 {
    font-size: 32px;
  }

  .notfound .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .notfound .hero-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
