:root {
  color: #172231;
  background: #f6f8fb;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body { margin: 0; min-width: 320px; }

.home-shell { margin: 0 auto; max-width: 760px; padding: 76px 24px; }

.home-header { align-items: center; display: flex; gap: 22px; margin-bottom: 42px; }

.brand-mark { height: 64px; object-fit: contain; width: 64px; }

.brand-name { color: #536579; font-size: 14px; font-weight: 700; letter-spacing: 0.03em; margin: 0 0 4px; }

h1 { font-size: 32px; letter-spacing: -0.025em; line-height: 1.15; margin: 0; text-wrap: balance; }

.intro { color: #506174; font-size: 16px; line-height: 1.65; margin: 8px 0 0; }

.tool-list { display: grid; gap: 12px; }

.tool-link { align-items: center; background: #fff; border: 1px solid #d7e0ea; border-radius: 10px; color: inherit; display: grid; gap: 16px; grid-template-columns: 38px minmax(0, 1fr) auto; min-height: 92px; padding: 18px 20px; text-decoration: none; transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out; }

.tool-link:hover { border-color: #3377cb; box-shadow: 0 4px 8px rgba(31, 67, 105, 0.12); transform: translateY(-1px); }

.tool-link-featured { background: #edf5ff; border-color: #9fc2e8; }

.tool-link-featured .tool-icon { background: #d8eaff; color: #15559c; }

.tool-link:focus-visible { outline: 3px solid #96c4ff; outline-offset: 3px; }

.tool-icon { align-items: center; background: #eaf2fd; border-radius: 8px; color: #2163b3; display: inline-flex; font-size: 22px; height: 38px; justify-content: center; width: 38px; }

.tool-copy { display: grid; gap: 4px; min-width: 0; }

.tool-copy strong { font-size: 17px; }

.tool-copy small { color: #536579; font-size: 14px; line-height: 1.45; }

.tool-arrow { color: #2c6fbd; font-size: 22px; }

.home-copyright { color: #536579; font-size: 13px; margin-top: 26px; text-align: center; }

@media (max-width: 560px) {
  .home-shell { padding: 48px 18px; }
  .home-header { align-items: flex-start; gap: 14px; margin-bottom: 30px; }
  .brand-mark { height: 48px; width: 48px; }
  h1 { font-size: 26px; }
  .tool-link { gap: 12px; padding: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .tool-link { transition: none; }
}
