/* SPDX-License-Identifier: GPL-3.0-or-later */
/* Landing page. The shared look lives in /core/static/core.css. */
.top .spacer { flex: 1; }
.hub { height: calc(100% - var(--top-h, 64px)); overflow-y: auto; padding: 34px 28px 60px; }
.hero { max-width: 900px; margin: 0 auto 30px; text-align: center; }
.hero h2 { font-size: 38px; letter-spacing: -.02em; line-height: 1.15; }
.hero h2 em { font-style: normal; color: var(--yellow); }
.hero p { color: #c3cbe0; font-size: 16px; max-width: 720px; margin: 14px auto 0; }

.cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px;
  max-width: 1320px; margin: 0 auto;
}
.lab-card {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; color: var(--text); text-decoration: none;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.lab-card:hover { transform: translateY(-4px); border-color: var(--yellow); box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 24px var(--yellow-glow); }
.lab-card canvas {
  width: 100%; height: 200px; display: block;
  background: radial-gradient(circle at 50% 45%, #0f1628 0%, #070a12 75%); border-bottom: 1px solid var(--line);
}
.lab-body { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lab-body h3 { font-size: 19px; display: flex; align-items: center; gap: 8px; }
.lab-card:hover h3 { color: var(--yellow); }
.lab-icon { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--panel2); border: 1px solid var(--line); font-size: 16px; color: var(--yellow); }
.lab-body p { margin: 0; color: #c3cbe0; }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: auto 0 0; }
.topics li { font: 11px var(--mono); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.lab-card.soon { opacity: .45; pointer-events: none; }
.lab-card.soon h3::after { content: attr(data-soon); font: 600 10px var(--mono); color: var(--bg); background: var(--muted); border-radius: 6px; padding: 2px 6px; margin-left: auto; }
.hub-foot { max-width: 1320px; margin: 30px auto 0; }
@media (max-width: 860px) {
  .hub { height: auto; overflow: visible; padding: 20px 16px 40px; }
  .hero h2 { font-size: 28px; }
  .cards { grid-template-columns: 1fr; }
}

/* privacy page and links at the bottom */
.policy { max-width: 820px; margin: 0 auto; }
.policy h2 { font-size: 24px; margin-bottom: 8px; }
.policy h3 { font-size: 15px; color: var(--text); margin: 22px 0 6px; }
.policy p { color: #c3cbe0; line-height: 1.6; margin: 6px 0; }
.policy a { color: var(--yellow); }
.policy-choice { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.linscp {
  max-width: 1320px; margin: 0 auto 18px; display: flex; align-items: center; gap: 12px;
  color: var(--muted); text-decoration: none; padding: 10px 16px; border: 1px solid var(--line);
  border-radius: 14px; background: rgba(17, 24, 41, .6); transition: border-color .2s, color .2s;
}
.linscp:hover { border-color: var(--yellow); color: var(--text); }
.linscp img { width: 30px; height: 30px; flex: none; }
.linscp b { color: var(--text); }
.linscp .go { margin-left: auto; color: var(--yellow); white-space: nowrap; }
