:root {
  color-scheme: light;
  --paper: #f6f4eb;
  --ink: #243b31;
  --green: #305c49;
  --rule: #d3d6c9;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.wrap { width: min(960px, calc(100% - 96px)); margin-inline: auto; }
.masthead { border-bottom: 1px solid var(--rule); }
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-block: 22px;
  font-size: 16px;
  letter-spacing: .055em;
}
.brand img { flex: none; }
.brand b { font-family: Georgia, serif; font-size: 19px; letter-spacing: .035em; }
main { flex: 1; padding: clamp(48px, 8vw, 105px) 0 68px; }
h1, h2 {
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", SimSun, serif;
  font-weight: 600;
}
h1 {
  display: flex;
  align-items: baseline;
  gap: .2em;
  margin: 0 0 clamp(26px, 4vw, 45px);
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -.04em;
  line-height: 1.15;
}
.ink-dot { background: #ad714b; width: .105em; height: .105em; border-radius: 50%; }
.tool-card {
  display: grid;
  grid-template-columns: 48% 1fr;
  color: inherit;
  text-decoration: none;
  background: #fcfbf5;
  border: 1px solid #cdd2c4;
  border-radius: 17px;
  overflow: hidden;
  box-shadow: 0 4px 0 rgb(55 67 46 / 5%);
}
.cover { display: grid; place-items: center; background: #dce6d8; }
.cover img { display: block; width: 100%; height: auto; }
.card-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(28px, 4.5vw, 58px); }
h2 { margin: 0; font-size: clamp(31px, 3.6vw, 46px); letter-spacing: .02em; line-height: 1.2; }
.card-content p { max-width: 22em; font-size: 16px; line-height: 1.85; color: #515d53; margin: 15px 0 27px; }
.action { font-size: 15px; font-weight: 650; display: inline-flex; align-items: center; gap: 10px; color: var(--green); }
.arrow {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font: 18px/1 Arial, sans-serif;
}
a:focus-visible { outline: 3px solid #985b2c; outline-offset: 5px; }
footer { border-top: 1px solid var(--rule); padding: 21px 0 24px; }
footer a { display: inline-flex; align-items: center; min-height: 32px; color: #586258; text-decoration: none; font-size: 13px; }
@media (hover: hover) {
  .tool-card:hover { border-color: #829880; box-shadow: 0 5px 0 rgb(55 67 46 / 10%); }
  .tool-card:hover .action, footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width: 650px) {
  .wrap { width: calc(100% - 40px); }
  .brand { padding-block: 15px; }
  main { padding-block: 40px 48px; }
  h1 { margin-bottom: 24px; }
  .tool-card { grid-template-columns: 100%; border-radius: 14px; }
  .cover img { max-height: 210px; object-fit: contain; }
  .card-content { padding: 24px; }
  .card-content p { margin: 10px 0 19px; }
  footer { padding-block: 14px; }
}
