/* toltech1.com: black & white link page */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #000;
  color: #fff;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 22px;
  -webkit-font-smoothing: antialiased;
}
a { color: #fff; text-decoration: none; }

.page {
  width: 100%;
  max-width: 570px;              /* matches the old centre column */
  margin: 0 auto;
  padding: 50px 10px 50px;
}

/* Header */
.header { text-align: center; }
.logo {
  display: block;
  width: 134px;
  height: auto;
  margin: 0 auto 40px;
}
.header h1,
.header h2 { font-weight: 400; line-height: 1; }
.header h1 { font-size: 33px; }
.header h2 { font-size: 25px; margin: 22px 0 38px; line-height: 1.2; }

/* Cards */
.links { display: grid; gap: 20px; }
.card {
  display: block;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 15px 20px;
  text-align: center;
  transition: background-color .2s;
}
.card:hover,
.card:focus-visible { background: rgba(255, 255, 255, .08); }
.card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 5px auto 18px;
  border-radius: 5px;
}
.card h3 { font-size: 19px; line-height: 33px; font-weight: 400; }
.card b { font-weight: 700; }

/* Contact icons */
.icons {
  display: flex;
  justify-content: space-between;
  padding: 40px 100px 10px;
}
.icons svg { width: 50px; height: 50px; fill: #fff; display: block; }
.icons a { transition: opacity .2s; }
.icons a:hover { opacity: .7; }

a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Tablet */
@media (max-width: 1024px) {
  .header h2 { font-size: 22px; }
  .card h3 { font-size: 18px; }
}

/* Mobile */
@media (max-width: 767px) {
  .page { padding: 45px 29px 30px; }
  .logo { width: 122px; margin: 0 auto 40px; }
  .header h1 { font-size: 36px; }
  .header h2 { font-size: 25px; margin: 22px 0 38px; }
  .card { padding: 10px; }
  .card:has(img) { padding: 19px 19px 14px; }
  .card img { width: 100%; margin: 0 auto 14px; }
  .card h3 { font-size: 17px; line-height: 1.5em; }
  .icons { padding: 30px 45px 10px; }
}
