/* Additional responsive polish. Does not replace the original homepage. */
.site-nav .nav-cta-short{display:none;}
/* The original desktop navigation needs its real content width. At narrower
   desktop sizes, keep every link reachable from the existing menu. */
@media (min-width:1061px){
  .site-nav .site-nav-in{max-width:1480px;}
}
@media (min-width:1061px) and (max-width:1460px){
  .site-nav .site-nav-in{gap:12px;}
  .site-nav .nav-links{margin-left:0;}
  .site-nav .nav-links a{padding-inline:8px;font-size:13px;}
  .site-nav .nav-actions{gap:6px;}
}
@media (min-width:1061px) and (max-width:1340px){
  .site-nav .nav-links{display:none;}
  .site-nav .nav-burger{display:grid;}
}
@media (max-width:767px){
  /* The signup action keeps its full accessible name without crowding the
     wordmark when the phone magnifies text. */
  .site-nav-in{height:auto!important;min-height:62px;flex-wrap:wrap;
    padding:8px 12px;gap:5px;container:public-nav / inline-size;}
  .site-nav .wordmark{font-size:16px;gap:6px;min-width:0;}
  .site-nav .wordmark-mark{width:22px;height:22px;}
  .site-nav .nav-cta{padding-inline:10px;white-space:nowrap;}
  .site-nav .nav-cta-full{display:none;}
  .site-nav .nav-cta-short{display:inline;}
  /* Keep the full cookie choice and disclosure, but give the first screen
     back to the page. The banner still clears the fixed navigation dock. */
  .cookie-banner{gap:8px!important;padding:12px 14px!important;
    bottom:calc(102px + env(safe-area-inset-bottom,0px))!important;
    max-height:min(60dvh,200px)!important;border-radius:18px!important;
    overflow:hidden!important;}
  .cookie-banner .cookie-mark{display:none;}
  .cookie-banner .cookie-body{flex:1 1 auto;min-height:0;gap:3px;
    overflow-y:auto;overscroll-behavior:contain;}
  .cookie-banner .cookie-actions{flex:none;}
  .cookie-banner .cookie-title{font-size:14px;line-height:1.35;
    overflow-wrap:anywhere;}
  .cookie-banner .cookie-text{font-size:12.5px;line-height:1.5;
    overflow-wrap:anywhere;hyphens:auto;}
  .cookie-banner .cookie-actions{gap:6px;}
  .cookie-banner .cookie-actions .btn{min-height:44px;font-size:13px;}
  .public-mobile-dock>a,.public-mobile-dock>button{font-size:12px;line-height:1.25;}
  .site-nav .nav-cta{min-height:44px;}
  .lp-home :is(.lp-product-kicker,.lp-product-caption,.hero-facts,.step code){
    font-size:12px;line-height:1.55;}
  .lp-home .lp-product-caption{overflow-wrap:anywhere;}
  .docs-mobile-index>summary{font-size:15px;}
  .docs-body :is(h1,h2,h3,h4){overflow-wrap:anywhere;hyphens:auto;}
  .docs-body :is(pre,table){overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;}
  .site-footer-grid a{min-height:44px;}
}

/* The mark remains recognizable when two full header labels no longer fit. */
@container public-nav (max-width:180px){
  .site-nav .wordmark>span{display:none;}
}

@media (max-width:767px){.public-mobile-dock{container:public-dock / inline-size;}}
@container public-dock (max-width:250px){
  .public-mobile-dock>a,.public-mobile-dock>button{min-width:0;min-height:64px;
    padding:5px 1px;gap:3px;font-size:11px;line-height:1.2;
    white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-align:center;}
  .public-mobile-dock svg{width:18px;height:18px;}
  .public-mobile-dock>a>span,.public-mobile-dock>button>span{display:none;}
  .public-mobile-dock>a::after,.public-mobile-dock>button::after{
    content:attr(data-short);display:block;max-width:100%;
    font:500 11px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;}
}
@container public-dock (max-width:180px){
  .public-mobile-dock>a::after,.public-mobile-dock>button::after{
    content:attr(data-tiny);font-size:10px;}
}
@media (max-width:767px){
  .site-nav-in[data-ultra-compact] .wordmark>span{display:none;}
  .public-mobile-dock[data-short-dock]>a>span,
  .public-mobile-dock[data-short-dock]>button>span{display:none;}
  .public-mobile-dock[data-short-dock]>a::after,
  .public-mobile-dock[data-short-dock]>button::after{
    content:attr(data-short);display:block;max-width:100%;
    font:500 12px/1.2 Inter,system-ui,sans-serif;white-space:nowrap;}
  .public-mobile-dock[data-ultra-compact]>a::after,
  .public-mobile-dock[data-ultra-compact]>button::after{
    content:attr(data-tiny);font-size:12px;}
}
