:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: #20232b;
  background: #f7f8fa;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px 24px;
}
.navigation { width: min(100%, 520px); }
.heading { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; padding-inline: 4px; }
.brand-mark { display: grid; place-items: center; flex: 0 0 56px; height: 56px; background: #f8d849; border-radius: 17px; }
.brand-mark img { display: block; }
h1 { margin: 0; font-size: 1.375rem; font-weight: 650; letter-spacing: .025em; line-height: 1.5; }
.heading p { margin: 3px 0 0; color: #777d87; font-size: .875rem; line-height: 1.5; letter-spacing: .08em; }
.destinations { display: grid; gap: 12px; }
.destination {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 24px;
  min-height: 104px;
  border: 1px solid #e6e8ec;
  border-radius: 18px;
  color: inherit;
  background: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(32, 35, 43, .06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.destination-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; background: var(--tint); color: var(--accent); }
.destination-icon svg { width: 25px; height: 25px; }
.self-test { --tint: #edf3fe; --accent: #3863ac; }
.writing { --tint: #fff6d5; --accent: #8a670b; }
.listening { --tint: #f0eaf8; --accent: #7252a5; }
.destination-text { display: grid; gap: 5px; min-width: 0; flex: 1; }
.destination-text strong { font-size: 1.125rem; font-weight: 600; line-height: 1.4; letter-spacing: .06em; }
.destination-text > span { color: #737985; font-size: .875rem; line-height: 1.5; overflow-wrap: anywhere; }
.arrow { width: 22px; height: 22px; flex: 0 0 22px; color: #979da7; transition: color .18s ease, transform .18s ease; }
.destination:focus-visible { outline: 3px solid #4267a9; outline-offset: 4px; }
.destination:active { transform: scale(.988); }
footer { margin-top: 28px; text-align: center; font-size: .8125rem; color: #808691; line-height: 1.6; letter-spacing: .04em; }
@media (hover: hover) {
  .destination:hover { border-color: #cdd2db; box-shadow: 0 5px 18px rgba(23, 33, 52, .045); transform: translateY(-2px); }
  .destination:hover .arrow { color: var(--accent); transform: translateX(3px); }
}
@media (max-width: 380px) {
  body { padding-inline: 18px; }
  .heading { gap: 13px; }
  h1 { font-size: 1.25rem; }
  .destination { padding: 20px 17px; gap: 13px; }
  .destination-icon { width: 43px; height: 43px; flex-basis: 43px; }
  .arrow { width: 19px; height: 19px; flex-basis: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .destination, .arrow { transition: none; }
}

.materials { --tint: #eaf4ee; --accent: #397e61; }

.classroom { --tint: #e9f3ee; --accent: #27694e; }
