* { box-sizing: border-box; }
:root { font-family: Arial, Helvetica, sans-serif; color: #25282c; background: #e5e7e9; }
body { margin: 0; }
.screen { min-height: 100svh; display: flex; flex-direction: column; padding: clamp(20px, 4vw, 64px); }
header { display: flex; align-items: center; gap: 12px; padding-bottom: 22px; border-bottom: 1px solid #bfc4ca; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 800; letter-spacing: .2em; color: inherit; text-decoration: none; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.back { margin-left: auto; color: #424a53; text-decoration: none; font-size: 11px; letter-spacing: .1em; }
main { width: 100%; max-width: 900px; margin: auto; padding: 36px 10px; }
h1 { font-size: clamp(22px, 2.5vw, 32px); text-align: center; margin: 0 0 30px; letter-spacing: .07em; }
.menu { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; min-height: 218px; padding: 18px; color: inherit; text-decoration: none; background: #f5f6f7; border: 1px solid #bcc2c8; }
.card:hover { background: #fff; border-color: #424a53; }
.card:focus-visible, .back:focus-visible { outline: 3px solid #3977b4; outline-offset: 4px; }
.number { color: #69717a; font: 10px 'Courier New', monospace; letter-spacing: .12em; }
.icon { width: 48px; height: 48px; margin: 22px 0 20px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
h2 { margin: auto 0 8px; font-size: clamp(15px, 1.6vw, 20px); }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 12px; border-top: 1px solid #d5d9de; }
.caption { font-size: 10px; color: #69717a; }
.arrow { width: 22px; height: 22px; fill: none; stroke: #424a53; stroke-width: 1.5; }
footer { display: flex; justify-content: space-between; border-top: 1px solid #bfc4ca; color: #69717a; font: 9px 'Courier New', monospace; letter-spacing: .1em; padding-top: 18px; }
@media (max-width: 700px) {
  .screen { padding: 16px; }
  header { gap: 7px; padding-bottom: 16px; }
  .brand { font-size: 15px; gap: 7px; letter-spacing: .12em; }
  .brand img { width: 24px; height: 24px; }
  .back { font-size: 9px; }
  main { padding: 24px 0; }
  .menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card { min-height: 160px; padding: 12px; }
  .icon { width: 32px; height: 32px; margin: 12px 0; }
  h2 { font-size: 14px; }
  .caption { font-size: 9px; }
}
