/* =================================================================
   Willow — 404 page

   Lifted out of the page's inline <style> block. 404.html links its assets
   root-absolutely (/assets/...) because Netlify serves it from arbitrary
   URL depths — a relative href would 404 from a nested path.
   ================================================================= */
.nf {
    padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
    min-height: 70vh;
  }
  .nf-code {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--blue);
    margin-bottom: 24px;
  }
  .nf h1 {
    font-size: var(--hero-h1);
    line-height: var(--hero-lh);
    letter-spacing: var(--hero-tracking);
    max-width: var(--hero-max);
    margin-bottom: 24px;
  }
  .nf-lede {
    font-size: 19px;
    line-height: 1.55;
    color: var(--ink-2);
    max-width: 48ch;
  }
  .nf-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
  }

  /* Where to go instead */
  .nf-links {
    margin-top: 88px;
    padding-top: 40px;
    border-top: 1px solid var(--rule);
  }
  .nf-links h2 {
    font-family: var(--mono);
    font-size: var(--t-micro);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-3);
    margin-bottom: 28px;
  }
  .nf-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: var(--r-lg);
    overflow: hidden;
  }
  .nf-card {
    display: block;
    background: var(--white);
    padding: 28px;
    text-decoration: none;
    transition: background 0.18s ease;
  }
  .nf-card:hover { background: var(--blue-soft); }
  .nf-card .t {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
  }
  .nf-card .d {
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-3);
  }

  @media (max-width: 900px) {
    .nf { padding: 120px 0 var(--hero-pad-bottom); }
    .nf-lede { font-size: 17px; }
    .nf-grid { grid-template-columns: 1fr; }
  }
