/* ==========================================================================
   Tools index page
   Loaded only by pages/marketing/tools.blade.php via @push('styles'),
   alongside legal.css for the shared .legal-hero/.mkt-eyebrow hero block.
   Card layout deliberately mirrors brokers.css's .brk-card/.brk-grid --
   same "reference list" visual language, own tl- prefix since the content
   (sellable tools, not broker links) is semantically different.
   ========================================================================== */

.tl-hero{ padding-bottom:8px; }

.tl-grid-section{ max-width:1100px; margin:0 auto; padding:0 28px 80px; }
.tl-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:20px;
}

.tl-card{
  display:flex; flex-direction:column; position:relative;
  background:var(--paper-raised); border:1px solid var(--line); border-radius:14px;
  padding:24px; text-decoration:none; overflow:hidden;
  transition:border-color .18s, box-shadow .18s;
}
.tl-card::before{
  content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--brass), var(--clay)); opacity:0; transition:opacity .18s;
}
.tl-card:hover{ border-color:var(--line-strong); box-shadow:var(--shadow-md); }
.tl-card:hover::before{ opacity:1; }

.tl-card-head{ display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:8px; }
.tl-card-head h3{ font-family:var(--font-display); font-size:18px; font-weight:600; color:var(--ink-900); }
.tl-price{
  font-family:var(--font-mono); font-size:16px; font-weight:700; color:var(--brass-deep);
  white-space:nowrap; text-align:right;
}
.tl-price span{ display:block; font-size:10px; font-weight:600; color:var(--ink-500); text-transform:uppercase; letter-spacing:.04em; }

.tl-tagline{ font-size:13px; font-weight:600; color:var(--ink-700); margin-bottom:10px; }
.tl-body{ font-size:13.5px; line-height:1.6; color:var(--ink-700); margin-bottom:18px; flex:1; }

.tl-visit{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono); font-size:12px;
  font-weight:600; color:var(--brass-deep); transition:gap .18s;
}
.tl-visit svg{ width:12px; height:12px; }
.tl-card:hover .tl-visit{ gap:9px; }

@media(max-width:640px){
  .tl-grid{ grid-template-columns:1fr; }
}
