/* toc-source 0.3.17.9-staging footer-signup v1.5 · 2026-11-21 · Web Ops
   Footer invitation is a text link to /opening-a-restaurant/#signup (Thomas, 10:51 AM PT).
   Option C treatment on the existing line "Free restaurant guides, by email." plus an arrow.
   Inline email field and Sign up button removed. F1 / F4 / nav nowrap from v1.2 kept.
   #signup scroll-margin so the pre-opening form heading is not flush to the viewport top. */

.toc-footer-nl{
  margin-top:var(--toc-space-5);
  max-width:100%;
  font-family:var(--toc-font-sans);
  color:var(--toc-ink);
}

/* C — typographic text link, underline, visible :focus-visible. Arrow is in the markup. */
.toc-footer-nl--c .toc-footer-nl__link{
  display:inline;
  color:var(--toc-ink);
  text-decoration:none;
  border-bottom:1px solid var(--toc-ink);
  padding-bottom:2px;
  font-size:var(--toc-text-ui);
  font-weight:var(--toc-weight-semibold);
  margin-top:.5rem;
}
.toc-footer-nl--c .toc-footer-nl__link:hover{
  color:var(--toc-ink);
  text-decoration:none;
}
.toc-footer-nl--c .toc-footer-nl__link:focus-visible{
  outline:var(--toc-focus-ring);
  outline-offset:var(--toc-focus-offset);
}

/* Optional polish (GD v1.1 visual PASS): nav labels do not wrap two-word items.
   Nav columns size to the longest label; leftover space goes to the tagline. */
.toc-footer__nav{grid-template-columns:repeat(2, minmax(max-content, 1fr))}
.toc-footer__nav a,
.toc-footer__nav a span{white-space:nowrap}
.toc-footer__grid>:last-child{min-width:0}
.toc-footer__about,
.toc-footer__legal{overflow-wrap:break-word}
/* F1: 600-899px — brand+signup on a full-width first row (signup 60% of the wrap);
   nav + tagline on a second row. Overrides the 3-column grid that starts at 720px. */
@media (min-width:600px) and (max-width:899.98px){
  .toc-footer__grid{
    grid-template-columns:max-content minmax(0,1fr);
    gap:40px 48px;
  }
  .toc-footer__grid>:first-child{grid-column:1/-1}
  .toc-footer-nl{max-width:60%}
  .toc-footer__about{max-width:none;text-wrap:pretty}
}
@media (min-width:900px){
  .toc-footer__grid{grid-template-columns:minmax(260px,1.2fr) max-content minmax(0,1fr);gap:48px}
  .toc-footer__grid>:first-child{grid-column:auto}
  .toc-footer-nl{max-width:100%}
}

/* F4: tighten the social-row gap on the phone so "X" is less likely to sit alone. */
@media (max-width:599.98px){
  .toc-footer__social{gap:16px 12px}
}

/* Pre-opening form: leave a little room above #signup when jumping from the footer. */
.toc-signup-wrap,
#signup{
  scroll-margin-top:32px;
}

@media print{
  .toc-footer-nl{display:none!important}
}
