/* Halaman depan Tools MIG: gaya khusus halaman ini. Token dari index.css. */
body { min-height: 100dvh; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.wrap { max-width: 960px; margin: 0 auto; padding: 32px 20px 48px; }

.head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.logo { width: 56px; height: 56px; border-radius: 16px; flex: none; display: block; }
h1 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.head .mig-hint { margin: 4px 0 0; font-size: 14px; }

.grp { margin: 0 0 12px 4px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; margin-bottom: 32px; }

.tool {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 20px 20px 16px;
  color: inherit; text-decoration: none;
  transition: box-shadow .15s;
}
.tool:hover { box-shadow: inset 0 0 0 1.5px var(--color-brand); }
.tool .mig-tile { width: 52px; height: 52px; border-radius: 18px; background: var(--color-brand-soft); color: var(--color-brand); }
.tool .mig-tile svg { width: 24px; height: 24px; }
.txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.txt b { font-size: 16px; font-weight: 700; }
.txt span { font-size: 13px; color: var(--color-muted); line-height: 1.45; }
.go { color: var(--color-muted); }
.tool:hover .go { color: var(--color-brand); }

@media (max-width: 600px) {
  .wrap { padding: 20px 16px 32px; }
  .head { margin-bottom: 24px; }
  h1 { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .tool { transition: none; } }
