:root { color-scheme: dark; font: 16px/1.8 system-ui, sans-serif; background: #101b19; color: #eff6ec; }
body { margin: 0; }
main { max-width: 730px; margin: auto; padding: 24px 20px 56px; }
header { display: flex; justify-content: space-between; color: #acbdb0; padding-bottom: 28px; }
article { padding: 20px 24px; margin-block-end: 24px; border: 1px solid #40594b; border-radius: 14px; background: #1e2e29; }
h1 { line-height: 1.3; }
h2 { font-size: 1.18rem; color: #d6e9a2; }
a { color: #d6e9a2; overflow-wrap: anywhere; }

.chess-home main { max-width: 760px; padding-top: clamp(24px, 6vw, 72px); }
.chess-home-header { align-items: center; gap: 16px; padding-bottom: 24px; }
.chess-home-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 5vw, 46px);
  padding: clamp(22px, 6vw, 52px);
  border: 1px solid #40594b;
  border-radius: 24px;
  background: #1e2e29;
}
.chess-home-intro img { display: block; width: clamp(80px, 20vw, 132px); height: auto; border-radius: 24%; }
.chess-home-intro h1 { margin: 0; font-size: clamp(2.1rem, 7vw, 3.7rem); line-height: 1.05; letter-spacing: -0.045em; }
.chess-home-intro p { max-width: 40ch; margin: 12px 0 0; color: #c9d9cc; }
.chess-home-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-block: 14px; }
.chess-home-links a { text-underline-offset: 0.24em; }
.chess-home-ar { margin-top: 34px; padding-top: 20px; border-top: 1px solid #40594b; }
.chess-home-ar h2 { margin: 0; font-size: 1.65rem; }
.chess-home-ar p { margin: 8px 0; }
@media (max-width: 420px) {
  .chess-home-intro { grid-template-columns: 1fr; }
}
