/* Graft Robotics shared header and footer. Loaded by every page, after the page's own styles.
   Selectors start with body so a page's own header/footer/nav rules cannot restyle them. */
body .gr-top, body .gr-top * , body footer.gr-foot, body footer.gr-foot * { box-sizing: border-box; font-family: var(--gr-font-sans); letter-spacing: normal; text-transform: none; }
body .gr-top { position: static; display: block; margin: 0; padding: 0; background: var(--gr-paper); border: 0; border-bottom: 1px solid var(--gr-line); box-shadow: none; backdrop-filter: none; }
body .gr-top-in { max-width: 960px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
body .gr-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none; color: var(--gr-ink); white-space: nowrap; background: none; padding: 0; border: 0; }
body .gr-logo:hover { text-decoration: none; color: var(--gr-ink); }
body .gr-logo svg { width: 26px; height: 26px; border-radius: 6px; display: block; flex-shrink: 0; }
body .gr-links { display: flex; align-items: center; gap: 20px; font-size: 15px; font-weight: 400; line-height: 1.4; margin: 0; padding: 0; background: none; border: 0; }
body .gr-links a { text-decoration: none; color: var(--gr-ink-soft); white-space: nowrap; background: none; border: 0; padding: 0; border-radius: 0; font-weight: 400; }
body .gr-links a:hover, body .gr-links a[aria-current="page"] { color: var(--gr-ink); text-decoration: none; background: none; }
body .gr-links a.cta { color: var(--gr-paper); background: var(--gr-ink); padding: 7px 14px; border-radius: 8px; font-weight: 600; }
body .gr-links a.cta:hover { color: var(--gr-paper); background: var(--gr-ink); opacity: 0.88; }
@media (max-width: 600px) { body .gr-links { gap: 14px; font-size: 14px; } body .gr-links .hide-sm { display: none; } }
/* Phones keep the sign-up CTA visible with compact spacing so 390px never overflows; Pricing stays in the footer. */
@media (max-width: 430px) {
  body .gr-top-in { padding: 10px 12px; gap: 8px; }
  body .gr-logo { font-size: 15px; gap: 7px; }
  body .gr-logo svg { width: 22px; height: 22px; }
  body .gr-links { gap: 10px; font-size: 13.5px; }
  body .gr-links a[href="/pricing/"] { display: none; }
  body .gr-links a.cta { display: inline-flex; padding: 6px 10px; font-size: 13px; }
}

body footer.gr-foot { display: block; border: 0; border-top: 1px solid var(--gr-line); margin: 40px 0 0; padding: 0; max-width: none; background: var(--gr-paper); text-align: left; color: var(--gr-ink-soft); box-shadow: none; }
body .gr-foot-in { max-width: 960px; margin: 0 auto; padding: 34px 20px 48px; display: grid; grid-template-columns: repeat(3, 1fr) 1.4fr; gap: 24px; font-size: 14.5px; line-height: 1.5; }
body .gr-foot h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gr-ink-muted); margin: 0 0 10px; font-weight: 600; line-height: 1.4; }
body .gr-foot a { display: block; color: var(--gr-ink-soft); text-decoration: none; margin: 0 0 6px; padding: 0; background: none; border: 0; font-weight: 400; }
body .gr-foot a:hover { color: var(--gr-ink); text-decoration: none; }
body .gr-foot .fine { color: var(--gr-ink-muted); font-size: 13.5px; line-height: 1.5; margin: 0; }
@media (max-width: 760px) { body .gr-foot-in { grid-template-columns: 1fr 1fr; } }
