/* The launcher is a printed sheet. No canvas: there is nothing here to
   manipulate, and decorative 3D would be exactly the wrong signal. */
:root { --accent: #1F4B73; --accent-2: #7A4A2B; }

.hub-body {
  background:
    radial-gradient(120% 80% at 50% 0%, #EAE5DA, var(--paper) 60%, #D3CDBF 100%);
  min-height: 100vh;
}
.hub-body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--grain); opacity: .17; mix-blend-mode: multiply;
}

.sheet {
  position: relative; z-index: 1;
  max-width: 1120px; margin: 0 auto;
  padding: clamp(48px, 9vh, 104px) clamp(22px, 5vw, 56px) 64px;
}

.sheet-head { max-width: 720px; margin-bottom: clamp(38px, 6vh, 66px); }
.sheet-mark {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-3);
  margin-bottom: 22px;
}
.sheet-mark .sq { width: 7px; height: 7px; background: var(--accent); }
.sheet-head h1 { font-size: clamp(32px, 4.6vw, 58px); margin-bottom: 20px; }

/* Three index cards laid on the sheet. */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  counter-reset: none;
}
.card-item { margin: 0; padding: 0; }
.card-item::before { content: none; }

.card-link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  border-top: 2px solid var(--card-ink);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  color: var(--ink); text-decoration: none;
  box-shadow: var(--lift-2);
  position: relative; overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease;
}
.card-link::after {                       /* the sheet's own grain */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .08; mix-blend-mode: multiply;
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--lift-3); }
.card-link:focus-visible { outline: 2px solid var(--card-ink); outline-offset: 3px; }

.card-no {
  font-family: var(--mono); font-size: 11.5px; color: var(--card-ink);
  margin-bottom: 16px; display: block; letter-spacing: 0.02em;
}
.card-link h2 {
  font-size: clamp(19px, 1.6vw, 24px); line-height: 1.18;
  margin-bottom: 11px; color: var(--card-ink);
}
.card-link > p { font-size: 14px; color: var(--ink-2); margin-bottom: 16px; flex: 1; }

.card-topics { margin: 0 0 18px; padding: 0; }
.card-topics li {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  padding-left: 14px; margin-bottom: 3px;
}
.card-topics li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 7px; height: 1px; background: var(--card-ink); opacity: .6;
}
.card-go {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 13px; border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-2);
}
.card-go i {
  font-style: normal; font-size: 14px; color: var(--card-ink);
  transition: transform .3s cubic-bezier(.2,.8,.3,1);
}
.card-link:hover .card-go i { transform: translateX(5px); }

.sheet-foot {
  margin-top: clamp(38px, 6vh, 64px);
  padding-top: 24px; border-top: 1px solid var(--rule-2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  max-width: 820px;
}
.foot-col h4 { margin-bottom: 6px; }
.foot-col .tiny { color: var(--ink-3); }
.foot-col code { font-size: 11.5px; }

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; }
  .card-link > p { flex: none; }
  .sheet-foot { grid-template-columns: 1fr; gap: 20px; }
}
