/* Walkthrough landing page styles.
   Add/edit cards in index.html; each tile is capped at 200x200. */
:root {
  --page-bg: #0b0b0d;
  --panel-bg: #111114;
  --tile-bg: #000;
  --text: #f2f2f2;
  --muted: #aaa;
  --border: #2a2a2f;
  --accent: #d7d7d7;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #181820 0, var(--page-bg) 430px);
  color: var(--text);
}
a { color: inherit; }
.walkthrough-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}
.walkthrough-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 12px 14px;
  background: rgba(0,0,0,.7);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.walkthrough-topbar a {
  text-decoration: none;
  font-weight: 700;
  color: #fff;
}
.walkthrough-topbar a:hover,
.walkthrough-topbar a:focus-visible { text-decoration: underline; }
.walkthrough-hero {
  margin-bottom: 28px;
}
.walkthrough-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.05;
}
.walkthrough-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.55;
}
.walkthrough-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 200px));
  gap: 18px;
  align-items: start;
}
.walkthrough-card {
  width: 100%;
  max-width: 200px;
  min-height: 200px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: var(--tile-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.walkthrough-card:hover,
.walkthrough-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 16px 36px rgba(0,0,0,.5);
  outline: none;
}
.walkthrough-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
  display: block;
  background: #000;
}
.walkthrough-card__text {
  padding: 10px 11px 12px;
  background: #000;
}
.walkthrough-card__title {
  display: block;
  font-size: .93rem;
  font-weight: 800;
  line-height: 1.15;
}
.walkthrough-card__meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.2;
}
.walkthrough-notes {
  margin-top: 28px;
  color: var(--muted);
  font-size: .95rem;
}
.walkthrough-notes code {
  color: #fff;
  background: #1b1b1f;
  padding: 2px 5px;
  border-radius: 4px;
}
@media (max-width: 480px) {
  .walkthrough-shell { width: min(100% - 20px, 1180px); padding-top: 12px; }
  .walkthrough-topbar { align-items: flex-start; flex-direction: column; }
  .walkthrough-grid { grid-template-columns: repeat(2, minmax(130px, 1fr)); gap: 12px; }
  .walkthrough-card { max-width: none; min-height: 0; border-radius: 12px; }
}
