/* docs.sodero.io home and not-found pages. Colors follow the manuals' dark theme. */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: #0a0b0c;
  color: #b4bac0;
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.top {
  height: 60px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 0 24px;
  background: #111;
  border-bottom: 1px solid #333;
}
.top a { display: flex; align-items: center; }

.page {
  max-width: 960px;
  margin: 0 auto;
  padding: 72px 24px 48px;
}

h1 {
  margin: 0 0 12px;
  color: #f1f2f3;
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead { margin: 0 0 40px; font-size: 16px; line-height: 1.6; }

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 56px;
}

.product {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #333;
  border-radius: 8px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.product:hover, .product:focus-visible { border-color: #f1f2f3; background: #111; outline: none; }

.product__icon, .link img {
  width: 24px;
  height: 24px;
  filter: invert(100%) sepia(4%) saturate(151%) hue-rotate(174deg) brightness(101%) contrast(92%);
}

.product h2 { margin: 16px 0 8px; color: #f1f2f3; font-size: 22px; font-weight: 600; }
.product p { margin: 0 0 24px; font-size: 15px; line-height: 1.6; flex: 1; }
.product__meta { color: #6fa6dd; font-size: 14px; font-weight: 500; }
.product__meta::after { content: " \2192"; }

h3 { margin: 0 0 12px; color: #f1f2f3; font-size: 16px; font-weight: 600; }

.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #333;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  transition: border-color 0.2s ease;
}
.link:hover { border-color: #f1f2f3; }
.link img { width: 18px; height: 18px; margin-top: 2px; flex: none; }
.link strong { display: block; color: #f1f2f3; font-weight: 600; }

.foot {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid #222;
  font-size: 13px;
  color: #6b7178;
}

@media (max-width: 720px) {
  .page { padding: 40px 16px 32px; }
  h1 { font-size: 28px; }
  .products, .links { grid-template-columns: 1fr; }
}
