* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  color: #1d2330;
  background:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 15% 20%, #6d5dfc 0, transparent 45%),
    radial-gradient(circle at 85% 30%, #00b4d8 0, transparent 40%),
    radial-gradient(circle at 50% 95%, #f472b6 0, transparent 45%),
    #0f1226;
  background-attachment: fixed;
}

.top { text-align: center; color: #fff; padding: 9vh 16px 28px; }
.top h1 { margin: 0; font-size: clamp(28px, 6vw, 42px); letter-spacing: -.01em; }
.top p { margin: 8px 0 0; color: rgba(255,255,255,.75); }

.grid {
  flex: 1 0 auto; width: calc(100% - 32px); max-width: 920px; margin: 0 auto 40px;
  display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  align-content: start;
}

.card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px 26px; border-radius: 18px;
  color: inherit; text-decoration: none;
  background: rgba(255,255,255,.9); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.25); box-shadow: 0 20px 50px rgba(0,0,0,.35);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.card:hover, a.card:focus-visible { transform: translateY(-3px); box-shadow: 0 24px 56px rgba(0,0,0,.45); }
a.card:focus-visible { outline: 3px solid #6d5dfc; outline-offset: 3px; }
.card h2 { margin: 0; font-size: 20px; }
.card p { margin: 0; color: #667085; line-height: 1.45; }
.card .go { margin-top: auto; padding-top: 10px; font-weight: 600; color: #4b3fd1; }
.card.is-soon { opacity: .75; }
.soon {
  display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em;
  color: #4b3fd1; background: rgba(109,93,252,.12);
}

/* Footer: the same bar as Job Finder's */
.site-footer {
  margin-top: auto; padding: 22px 40px; font-size: .78rem; color: #f5f7fa;
  background: rgba(15, 18, 38, .85); border-top: 1px solid rgba(255, 255, 255, .15);
}
.footer-inner {
  max-width: 1400px; margin: 0 auto; width: 100%;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px;
}
.footer-social { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.site-footer a { color: #f5f7fa; text-decoration: underline; text-underline-offset: 3px; }
.footer-social a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.footer-social svg {
  width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
@media (max-width: 640px) {
  .site-footer { padding: 20px 16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
